]> wimlib.net Git - wimlib/blobdiff - src/lzx-common.c
LZX decompression cleanups
[wimlib] / src / lzx-common.c
index 9da4ddb069ca46fba21291f31c434f56d2536a28..5b3d118e2acb5c08ed40ac61f321828f09f32b06 100644 (file)
@@ -1,5 +1,6 @@
 #include "lzx.h"
 
+#ifdef USE_LZX_EXTRA_BITS_ARRAY
 /* LZX uses what it calls 'position slots' to represent match offsets.
  * What this means is that a small 'position slot' number and a small
  * offset from that slot are encoded instead of one large offset for
@@ -20,6 +21,7 @@ const u8 lzx_extra_bits[LZX_NUM_POSITION_SLOTS] = {
        /*17, 17, 17, 17, 17,*/
        /*17*/
 };
+#endif
 
 const u32 lzx_position_base[LZX_NUM_POSITION_SLOTS] = {
        0      , 1      , 2      , 3      , 4      ,