From 4ab9fe24e79e0ef83afae2ec345e0d5a7b1474f7 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Wed, 13 May 2015 02:02:05 +0200 Subject: Silence warning about unused variable --- src/export/extract_version_2.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/export/extract_version_2.c b/src/export/extract_version_2.c index 4fb9aa2..ac082ca 100644 --- a/src/export/extract_version_2.c +++ b/src/export/extract_version_2.c @@ -334,8 +334,6 @@ static void decompress_subchunk( uint8_t * subchunk, size_t subchunk_size, int c s.in = subchunk; s.left = subchunk_size; while( chunks-- ) { - int i; - /* (Re-)initialize output state */ s.out = output; s.next = 0; @@ -344,11 +342,8 @@ static void decompress_subchunk( uint8_t * subchunk, size_t subchunk_size, int c s.bitcnt = 0; err = decomp(&s); - if( err ) { -// for( i=0; i<32; ++i ) fprintf( stderr, "%02X ", s.in[i] ); -// fprintf( stderr, "\nError: %d (%d chunks left at %08x)\n", err, chunks, (unsigned int)(subchunk) ); + if( err ) return; - } /* Dump to stdout for now */ fwrite( output, outchunk_size, 1, stdout ); -- cgit v1.2.3