]> wimlib.net Git - wimlib/blobdiff - src/xpress-compress.c
write_stream_list(): Cleanup
[wimlib] / src / xpress-compress.c
index 518a0e3ba70b23fdd24a85df93a95c5da33f4f52..ad9dcff76de3718ba19a4a902bb4dfe4deb39353 100644 (file)
@@ -99,7 +99,7 @@ xpress_write_matches_and_literals(struct output_bitstream *ostream,
 }
 
 struct xpress_record_ctx {
-       freq_t freqs[XPRESS_NUM_SYMBOLS];
+       input_idx_t freqs[XPRESS_NUM_SYMBOLS];
        struct xpress_match *matches;
 };
 
@@ -237,7 +237,7 @@ wimlib_xpress_compress(const void * restrict uncompressed_data,
        }
        compressed_len += XPRESS_NUM_SYMBOLS / 2;
 
-#if defined(ENABLE_XPRESS_DEBUG) || defined(ENABLE_VERIFY_COMPRESSION) || 1
+#if defined(ENABLE_XPRESS_DEBUG) || defined(ENABLE_VERIFY_COMPRESSION)
        /* Verify that we really get the same thing back when decompressing.  */
        if (wimlib_xpress_decompress(compressed_data, compressed_len,
                                     udata, uncompressed_len))