diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-18 11:18:37 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-18 11:18:37 (GMT) |
commit | 1d909df5e5be08161ae2c66aeb3b5a8f686a93a7 (patch) | |
tree | 1c6dbbe19315bc5c6c289402cc9ccfca49ad3334 /src/compression/tng_compress.c | |
parent | 432b68b7ce8ed3239a298b6e7bc2bc7fd139564a (diff) |
Set default value to length to make sure it is set.
Diffstat (limited to 'src/compression/tng_compress.c')
-rw-r--r-- | src/compression/tng_compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compression/tng_compress.c b/src/compression/tng_compress.c index d4a439c..a63e7a1 100644 --- a/src/compression/tng_compress.c +++ b/src/compression/tng_compress.c @@ -320,7 +320,7 @@ static void compress_quantized_pos(int *quant, int *quant_inter, int *quant_intr { int bufloc=0; char *datablock=NULL; - int length; + int length=0; /* Information needed for decompression. */ if (data) bufferfix((unsigned char*)data+bufloc,(fix_t)MAGIC_INT_POS,4); |