aboutsummaryrefslogtreecommitdiffstats
path: root/huffman
diff options
context:
space:
mode:
authorHunter Kvalevog <hunter@kvog.sh>2026-11-16 06:55:17 -0600
committerHunter Kvalevog <hunter@kvog.sh>2026-11-16 06:55:17 -0600
commit378bfb133c2f036a193d1301e9b092db343df821 (patch)
tree02e9873743b0cfbb9d83417afc131d4a01092384 /huffman
parentc12d946e4e8c8e42a6f6a71f6e7cd557aa59c5d3 (diff)
downloaddemos-master.tar.gz
demos-master.zip
Diffstat (limited to 'huffman')
-rw-r--r--huffman/huffman.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/huffman/huffman.c b/huffman/huffman.c
index eb388c5..a40a389 100644
--- a/huffman/huffman.c
+++ b/huffman/huffman.c
@@ -355,9 +355,7 @@ uint8_t *decompress(const uint8_t *bbuf, size_t blen, size_t *olen)
Node *root = read_tree(&br);
for (size_t i = 0; i < *olen; ++i)
- {
obuf[i] = traverse(&br, root)->sym;
- }
#ifdef DEBUG
printf("%.*s\n", (int)*olen, (const char *)obuf);