]> wimlib.net Git - wimlib/blobdiff - src/write.c
make_canonical_huffman_code(): Remove unneeded variable initializations
[wimlib] / src / write.c
index 7167866033019576baa73d2f832c466ced7d005d..36b82b453fc9d1ca5c85079de479ffa728ec6779 100644 (file)
@@ -209,7 +209,7 @@ static int write_wim_resource_chunk(const u8 chunk[], unsigned chunk_size,
 }
 
 /*
- * Finishes a WIM chunk tale and writes it to the output file at the correct
+ * Finishes a WIM chunk table and writes it to the output file at the correct
  * offset.
  *
  * The final size of the full compressed resource is returned in the
@@ -1281,7 +1281,6 @@ static int write_stream_list(struct list_head *stream_list, FILE *out_fp,
        size_t num_streams = 0;
        u64 total_bytes = 0;
        u64 total_compression_bytes = 0;
-       bool compression_needed = false;
        union wimlib_progress_info progress;
        int ret;