]> wimlib.net Git - wimlib/commitdiff
decompress_common.c: Don't include error.h
authorEric Biggers <ebiggers3@gmail.com>
Thu, 7 Aug 2014 03:13:36 +0000 (22:13 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Thu, 7 Aug 2014 03:13:36 +0000 (22:13 -0500)
src/decompress_common.c

index 64e171d9491fa1bc3277045bd5719a503b354d29..b56fc3fbedbcf2535961c54ad9bf6fa46d4d2009 100644 (file)
@@ -15,7 +15,6 @@
 #endif
 
 #include "wimlib/decompress_common.h"
 #endif
 
 #include "wimlib/decompress_common.h"
-#include "wimlib/error.h"
 #include "wimlib/util.h" /* for BUILD_BUG_ON()  */
 
 #include <string.h>
 #include "wimlib/util.h" /* for BUILD_BUG_ON()  */
 
 #include <string.h>
@@ -179,7 +178,6 @@ make_huffman_decode_table(u16 decode_table[const restrict],
                if (unlikely(left < 0)) {
                        /* The lengths overflow the codespace; that is, the code
                         * is over-subscribed.  */
                if (unlikely(left < 0)) {
                        /* The lengths overflow the codespace; that is, the code
                         * is over-subscribed.  */
-                       DEBUG("Invalid prefix code (over-subscribed)");
                        return -1;
                }
        }
                        return -1;
                }
        }
@@ -201,7 +199,6 @@ make_huffman_decode_table(u16 decode_table[const restrict],
                               table_num_entries * sizeof(decode_table[0]));
                        return 0;
                }
                               table_num_entries * sizeof(decode_table[0]));
                        return 0;
                }
-               DEBUG("Invalid prefix code (incomplete set)");
                return -1;
        }
 
                return -1;
        }