]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Clean up gcc -Wall complaints in resize2fs
authorTheodore Ts'o <tytso@mit.edu>
Thu, 29 Dec 2005 20:44:45 +0000 (15:44 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 29 Dec 2005 20:44:45 +0000 (15:44 -0500)
Remove unused variables in mark_table_blocks()

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
resize/ChangeLog
resize/resize2fs.c

index 8a3fde2747db6b2b8e8e7772594e35b54db7e840..a6b2ac39e39b8b30beb1f76ba659406d88c4a61d 100644 (file)
@@ -1,5 +1,8 @@
 2005-12-29  Theodore Ts'o  <tytso@mit.edu>
 
+       * resize2fs.c (mark_table_blocks): Remove unused variables to
+               clean up gcc -Wall complaints.
+
        * main.c (main): If the filesystem being resized is a regular
                file, truncate or expand the file to match the new
                filesystem size.  (Addresses Debian Bug: #271607)
index 695bf7b607da257289b1623165c48af3bf0298c4..4eefd0d4d34811f944af34c66ae44e4b7da71469 100644 (file)
@@ -485,10 +485,8 @@ static errcode_t mark_table_blocks(ext2_filsys fs,
        blk_t                   block, b;
        unsigned int            j;
        dgrp_t                  i;
-       unsigned long           meta_bg, meta_bg_size;
-       int                     has_super;
+       unsigned long           meta_bg_size;
        unsigned int            old_desc_blocks;
-       errcode_t               retval;
 
        meta_bg_size = (fs->blocksize / sizeof (struct ext2_group_desc));
        block = fs->super->s_first_data_block;