xpress-decompress.c: Remove unused 'lens' parameter to xpress_lz_decode()
authorEric Biggers <ebiggers3@gmail.com>
Sun, 8 Jun 2014 03:25:37 +0000 (22:25 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 8 Jun 2014 03:25:37 +0000 (22:25 -0500)
src/xpress-decompress.c

index 338c9d957b7a90bccd55f29447a3add8797ab806..b378f85fc3a9f81b29cc0d235d05c0cde8a8a306 100644 (file)
@@ -144,7 +144,6 @@ static int
 xpress_lz_decode(struct input_bitstream * restrict istream,
                 u8 uncompressed_data[restrict],
                 unsigned uncompressed_len,
-                const u8 lens[restrict],
                 const u16 decode_table[restrict])
 {
        input_idx_t curpos;
@@ -210,7 +209,7 @@ xpress_decompress(const void *compressed_data, size_t compressed_size,
                             compressed_size - XPRESS_NUM_SYMBOLS / 2);
 
        return xpress_lz_decode(&istream, uncompressed_data,
-                               uncompressed_size, lens, decode_table);
+                               uncompressed_size, decode_table);
 }
 
 const struct decompressor_ops xpress_decompressor_ops = {