summaryrefslogtreecommitdiff
path: root/misc/mke2fs.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 /misc/mke2fs.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 'misc/mke2fs.c')
-rw-r--r--misc/mke2fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index cdf2281d..7e0cc34e 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -2110,7 +2110,7 @@ static int mke2fs_discard_device(ext2_filsys fs)
return retval;
}
-static fix_cluster_bg_counts(ext2_filsys fs)
+static void fix_cluster_bg_counts(ext2_filsys fs)
{
blk64_t cluster, num_clusters, tot_free;
int grp_free, num_free, group, num;