summaryrefslogtreecommitdiff
path: root/src/compression/tng_compress.c
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-10-18 11:18:37 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-10-18 11:18:37 (GMT)
commit1d909df5e5be08161ae2c66aeb3b5a8f686a93a7 (patch)
tree1c6dbbe19315bc5c6c289402cc9ccfca49ad3334 /src/compression/tng_compress.c
parent432b68b7ce8ed3239a298b6e7bc2bc7fd139564a (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.c2
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);
contact: Jan Huwald // Impressum