]> wimlib.net Git - wimlib/blobdiff - src/lzx-decompress.c
Encodings update (IN PROGRESS)
[wimlib] / src / lzx-decompress.c
index e0f3b85afc6c23d682e5eca6e7260b86824d0a1a..1cc5113c4515b0f1fa60065f35a1b714982f13e6 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 /*
- * Copyright (C) 2012 Eric Biggers
+ * Copyright (C) 2012, 2013 Eric Biggers
  *
  * This file is part of wimlib, a library for working with WIM files.
  *
@@ -318,7 +318,6 @@ static int lzx_read_block_header(struct input_bitstream *istream,
        unsigned s;
        unsigned i;
        unsigned len;
-       u32 R[3];
 
        ret = bitstream_ensure_bits(istream, 4);
        if (ret != 0) {
@@ -873,7 +872,7 @@ int lzx_decompress(const void *compressed_data, unsigned compressed_len,
                        LZX_DEBUG("LZX_BLOCKTYPE_UNCOMPRESSED");
                        if (istream.data_bytes_left < block_size) {
                                ERROR("Unexpected end of input when "
-                                     "reading %zu bytes from LZX bitstream "
+                                     "reading %u bytes from LZX bitstream "
                                      "(only have %u bytes left)",
                                      block_size, istream.data_bytes_left);
                                return -1;