Whamcloud - gitweb
Fix miscellaneous gcc -Wall warnings in blkid and tune2fs
authorTheodore Ts'o <tytso@mit.edu>
Sun, 12 Jul 2009 03:56:49 +0000 (23:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 12 Jul 2009 03:56:49 +0000 (23:56 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/blkid.c
misc/tune2fs.c

index 0c34d61..388abad 100644 (file)
@@ -170,7 +170,6 @@ static void pretty_print_dev(blkid_dev dev)
        blkid_tag_iterate       iter;
        const char              *type, *value, *devname;
        const char              *uuid = "", *fs_type = "", *label = "";
-       char                    *cp;
        int                     len, mount_flags;
        char                    mtpt[80];
        errcode_t               retval;
index 2ad3436..60b50fd 100644 (file)
@@ -975,7 +975,7 @@ static int get_move_bitmaps(ext2_filsys fs, int new_ino_blks_per_grp,
        blk_t j, needed_blocks = 0;
        blk_t i_bmap, b_bmap;
        blk_t start_blk, end_blk;
-       int num, k;
+       int num;
 
        for (i = 0; i < fs->group_desc_count; i++) {
                b_bmap = fs->group_desc[i].bg_block_bitmap;