diff options
Diffstat (limited to 'archival/gzip.c')
-rw-r--r-- | archival/gzip.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index 42b2f0b2e..c9171304a 100644 --- a/archival/gzip.c +++ b/archival/gzip.c | |||
@@ -1372,7 +1372,6 @@ static void build_tree(tree_desc * desc) | |||
1372 | /* and insert the new node in the heap */ | 1372 | /* and insert the new node in the heap */ |
1373 | G2.heap[SMALLEST] = node++; | 1373 | G2.heap[SMALLEST] = node++; |
1374 | pqdownheap(tree, SMALLEST); | 1374 | pqdownheap(tree, SMALLEST); |
1375 | |||
1376 | } while (G2.heap_len >= 2); | 1375 | } while (G2.heap_len >= 2); |
1377 | 1376 | ||
1378 | G2.heap[--G2.heap_max] = G2.heap[SMALLEST]; | 1377 | G2.heap[--G2.heap_max] = G2.heap[SMALLEST]; |
@@ -1720,7 +1719,6 @@ static ulg flush_block(char *buf, ulg stored_len, int eof) | |||
1720 | 1719 | ||
1721 | copy_block(buf, (unsigned) stored_len, 0); /* without header */ | 1720 | copy_block(buf, (unsigned) stored_len, 0); /* without header */ |
1722 | G2.compressed_len = stored_len << 3; | 1721 | G2.compressed_len = stored_len << 3; |
1723 | |||
1724 | } else if (stored_len + 4 <= opt_lenb && buf != NULL) { | 1722 | } else if (stored_len + 4 <= opt_lenb && buf != NULL) { |
1725 | /* 4: two words for the lengths */ | 1723 | /* 4: two words for the lengths */ |
1726 | /* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE. | 1724 | /* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE. |
@@ -1734,7 +1732,6 @@ static ulg flush_block(char *buf, ulg stored_len, int eof) | |||
1734 | G2.compressed_len += (stored_len + 4) << 3; | 1732 | G2.compressed_len += (stored_len + 4) << 3; |
1735 | 1733 | ||
1736 | copy_block(buf, (unsigned) stored_len, 1); /* with header */ | 1734 | copy_block(buf, (unsigned) stored_len, 1); /* with header */ |
1737 | |||
1738 | } else if (static_lenb == opt_lenb) { | 1735 | } else if (static_lenb == opt_lenb) { |
1739 | send_bits((STATIC_TREES << 1) + eof, 3); | 1736 | send_bits((STATIC_TREES << 1) + eof, 3); |
1740 | compress_block((ct_data *) G2.static_ltree, (ct_data *) G2.static_dtree); | 1737 | compress_block((ct_data *) G2.static_ltree, (ct_data *) G2.static_dtree); |