From: Eric Biggers Date: Sun, 17 Aug 2014 05:33:47 +0000 (-0500) Subject: xpress-decompress.c: Remove unnecessary bitstream_ensure_bits() X-Git-Tag: v1.7.2~68 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=44c09f02f1c00dad582a9e1fbabf246ba8e59990 xpress-decompress.c: Remove unnecessary bitstream_ensure_bits() --- diff --git a/src/xpress-decompress.c b/src/xpress-decompress.c index ebe0d23b..f060d0b0 100644 --- a/src/xpress-decompress.c +++ b/src/xpress-decompress.c @@ -141,8 +141,6 @@ xpress_lz_decode(struct input_bitstream * restrict istream, unsigned sym; int ret; - bitstream_ensure_bits(istream, 16); - sym = read_huffsym(istream, decode_table, XPRESS_TABLEBITS, XPRESS_MAX_CODEWORD_LEN); if (sym < XPRESS_NUM_CHARS) {