X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fdecompress_common.c;h=b56fc3fbedbcf2535961c54ad9bf6fa46d4d2009;hb=f217a34cf5fecfd91b10395f9165a7ae9570c4aa;hp=77fdd251903732eb4c03b2aba20debbb0b06332d;hpb=51d0ed416822049a482bae05e25eec788cc86f96;p=wimlib diff --git a/src/decompress_common.c b/src/decompress_common.c index 77fdd251..b56fc3fb 100644 --- a/src/decompress_common.c +++ b/src/decompress_common.c @@ -2,25 +2,12 @@ * decompress_common.c * * Code for decompression shared among multiple compression formats. - */ - -/* - * Copyright (C) 2012, 2013, 2014 Eric Biggers - * - * This file is part of wimlib, a library for working with WIM files. - * - * wimlib is free software; you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free - * Software Foundation; either version 3 of the License, or (at your option) - * any later version. * - * wimlib is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. + * Author: Eric Biggers + * Year: 2012 - 2014 * - * You should have received a copy of the GNU General Public License - * along with wimlib; if not, see http://www.gnu.org/licenses/. + * The author dedicates this file to the public domain. + * You can do whatever you want with this file. */ #ifdef HAVE_CONFIG_H @@ -28,7 +15,6 @@ #endif #include "wimlib/decompress_common.h" -#include "wimlib/error.h" #include "wimlib/util.h" /* for BUILD_BUG_ON() */ #include @@ -192,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. */ - DEBUG("Invalid prefix code (over-subscribed)"); return -1; } } @@ -214,7 +199,6 @@ make_huffman_decode_table(u16 decode_table[const restrict], table_num_entries * sizeof(decode_table[0])); return 0; } - DEBUG("Invalid prefix code (incomplete set)"); return -1; }