1 Author: Andreas Tille <tille@debian.org>
2 Date: Wed, 25 Apr 2012 17:01:06 +0200
3 Bug-Closed: http://bugs.debian.org/626267
4 Description: Do not set unused variables
9 if (fp->open_mode == 'w') {
10 if (bgzf_flush(fp) != 0) return -1;
11 { // add an empty block
12 - int count, block_length = deflate_block(fp, 0);
13 + int /* count, */ block_length = deflate_block(fp, 0);
15 - count = fwrite(fp->compressed_block, 1, block_length, fp->x.fpw);
16 + /* count = */ fwrite(fp->compressed_block, 1, block_length, fp->x.fpw);
18 - count = fwrite(fp->compressed_block, 1, block_length, fp->file);
19 + /* count = */ fwrite(fp->compressed_block, 1, block_length, fp->file);