summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2015-05-13 02:02:05 +0200
committerDirk Engling <erdgeist@erdgeist.org>2015-05-13 02:02:05 +0200
commit4ab9fe24e79e0ef83afae2ec345e0d5a7b1474f7 (patch)
tree1565a5bfb8a3460fb27e2a8e4b91a844d1e8c829
parent8f3c771eecacbfb46c83866aeba09760e231b7d9 (diff)
Silence warning about unused variable
-rw-r--r--src/export/extract_version_2.c7
1 files changed, 1 insertions, 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
334 s.in = subchunk; 334 s.in = subchunk;
335 s.left = subchunk_size; 335 s.left = subchunk_size;
336 while( chunks-- ) { 336 while( chunks-- ) {
337 int i;
338
339 /* (Re-)initialize output state */ 337 /* (Re-)initialize output state */
340 s.out = output; 338 s.out = output;
341 s.next = 0; 339 s.next = 0;
@@ -344,11 +342,8 @@ static void decompress_subchunk( uint8_t * subchunk, size_t subchunk_size, int c
344 s.bitcnt = 0; 342 s.bitcnt = 0;
345 343
346 err = decomp(&s); 344 err = decomp(&s);
347 if( err ) { 345 if( err )
348// for( i=0; i<32; ++i ) fprintf( stderr, "%02X ", s.in[i] );
349// fprintf( stderr, "\nError: %d (%d chunks left at %08x)\n", err, chunks, (unsigned int)(subchunk) );
350 return; 346 return;
351 }
352 347
353 /* Dump to stdout for now */ 348 /* Dump to stdout for now */
354 fwrite( output, outchunk_size, 1, stdout ); 349 fwrite( output, outchunk_size, 1, stdout );