diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-09 12:47:42 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-09 12:47:42 (GMT) |
commit | ea37cbf48b84b75a9ec535af679d6104757e4271 (patch) | |
tree | 07df943c7ca93ff3200601fba71ef304a29ba275 /src/compression/bwlzh.c | |
parent | 0fad649af860bebdc3b4e422700b721c0f09007d (diff) |
Fixing many compiler warnings.
Diffstat (limited to 'src/compression/bwlzh.c')
-rw-r--r-- | src/compression/bwlzh.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compression/bwlzh.c b/src/compression/bwlzh.c index 62a5939..e5eb499 100644 --- a/src/compression/bwlzh.c +++ b/src/compression/bwlzh.c @@ -81,7 +81,9 @@ static void bwlzh_compress_gen(unsigned int *vals, int nvals, int huffdatalen; int nhufflen[N_HUFFMAN_ALGO]; int huffalgo; +#ifndef PARTIAL_MTF int ndict; +#endif int bwt_index; unsigned int *bwt=NULL; #ifdef PARTIAL_MTF3 @@ -494,7 +496,9 @@ static void bwlzh_decompress_gen(unsigned char *input, int nvals, { unsigned int *vals16; int nvals16; +#ifndef PARTIAL_MTF int ndict; +#endif int bwt_index; unsigned int *bwt=NULL; unsigned int *mtf=NULL; |