summaryrefslogtreecommitdiff
path: root/lib/ext2fs/alloc.c
diff options
context:
space:
mode:
authorAndreas Dilger <adilger@whamcloud.com>2011-06-15 22:17:38 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-06-15 22:17:38 -0400
commit96367ad3bc849220651b20f41340b48e07e82b04 (patch)
tree7a3d0934c69f3f75cf79b95ce7cdb9457b66f2e0 /lib/ext2fs/alloc.c
parentdb7cb4b4a6c50527c764e11c12b6caf4f207d46b (diff)
downloade2fsprogs-96367ad3bc849220651b20f41340b48e07e82b04.tar.gz
misc: quiet "unused variable" compiler warnings
Some of the newly-merged patches added "unused variable" compiler warnings. Delete unused variables. Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/ext2fs/alloc.c')
-rw-r--r--lib/ext2fs/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext2fs/alloc.c b/lib/ext2fs/alloc.c
index d96b2aad..835f7837 100644
--- a/lib/ext2fs/alloc.c
+++ b/lib/ext2fs/alloc.c
@@ -258,7 +258,7 @@ errcode_t ext2fs_alloc_block(ext2_filsys fs, blk_t goal,
errcode_t ext2fs_get_free_blocks2(ext2_filsys fs, blk64_t start, blk64_t finish,
int num, ext2fs_block_bitmap map, blk64_t *ret)
{
- blk64_t b = start, c = 0;
+ blk64_t b = start;
int c_ratio;
EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS);