]> wimlib.net Git - wimlib/blobdiff - src/compress_common.c
Remove support for --enable-more-assertions configure option
[wimlib] / src / compress_common.c
index 130bfc1167f9eaa30bf9e55fee05cf41c76226a4..7ca7f5bba312831b9d342af875acaf2c19f144a0 100644 (file)
@@ -581,12 +581,6 @@ make_canonical_huffman_code(unsigned num_syms, unsigned max_codeword_len,
        u32 *A = codewords;
        unsigned num_used_syms;
 
-       /* Assumptions  */
-       wimlib_assert2(num_syms >= 2);
-       wimlib_assert2(num_syms <= (1 << NUM_SYMBOL_BITS));
-       wimlib_assert2((1ULL << max_codeword_len) >= num_syms);
-       wimlib_assert2(max_codeword_len <= 32);
-
        /* We begin by sorting the symbols primarily by frequency and
         * secondarily by symbol value.  As an optimization, the array
         * used for this purpose ('A') shares storage with the space in