X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=tabix.git;a=blobdiff_plain;f=debian%2Fpatches%2Fcount-set-but-not-used.patch;fp=debian%2Fpatches%2Fcount-set-but-not-used.patch;h=0000000000000000000000000000000000000000;hp=6204a1d076facd83a4d88349cf01b91063692c2c;hb=9de2ad508fd9055fdd6b2a8b7e9269096a8c0e45;hpb=df2c6181fb92ca895a64f6cc5b35c3c387698b72 diff --git a/debian/patches/count-set-but-not-used.patch b/debian/patches/count-set-but-not-used.patch deleted file mode 100644 index 6204a1d..0000000 --- a/debian/patches/count-set-but-not-used.patch +++ /dev/null @@ -1,22 +0,0 @@ -Author: Andreas Tille -Date: Wed, 25 Apr 2012 17:01:06 +0200 -Bug-Closed: http://bugs.debian.org/626267 -Description: Do not set unused variables - ---- tabix.orig/bgzf.c -+++ tabix/bgzf.c -@@ -627,11 +627,11 @@ - if (fp->open_mode == 'w') { - if (bgzf_flush(fp) != 0) return -1; - { // add an empty block -- int count, block_length = deflate_block(fp, 0); -+ int /* count, */ block_length = deflate_block(fp, 0); - #ifdef _USE_KNETFILE -- count = fwrite(fp->compressed_block, 1, block_length, fp->x.fpw); -+ /* count = */ fwrite(fp->compressed_block, 1, block_length, fp->x.fpw); - #else -- count = fwrite(fp->compressed_block, 1, block_length, fp->file); -+ /* count = */ fwrite(fp->compressed_block, 1, block_length, fp->file); - #endif - } - #ifdef _USE_KNETFILE