Whamcloud - gitweb
build: quiet build warnings for "gcc -Wall"
authorAndreas Dilger <adilger@dilger.ca>
Tue, 22 Jan 2013 23:32:29 +0000 (16:32 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 28 Jan 2013 03:31:03 +0000 (22:31 -0500)
Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/recovery.c
lib/ext2fs/csum.c
lib/ext2fs/inode.c
misc/tune2fs.c

index 69ed68a..ae3d238 100644 (file)
@@ -595,7 +595,7 @@ static int do_one_pass(journal_t *journal,
                                                success = -EIO;
                                                printk(KERN_ERR "JBD: Invalid "
                                                       "checksum recovering "
-                                                      "block %ld in log\n",
+                                                      "block %lld in log\n",
                                                       blocknr);
                                                continue;
                                        }
index 6c18513..ebd544f 100644 (file)
@@ -113,10 +113,8 @@ static errcode_t ext2fs_ext_attr_block_csum(ext2_filsys fs, ext2_ino_t inum,
                                            struct ext2_ext_attr_header *hdr,
                                            __u32 *crc)
 {
-       errcode_t retval;
        char *buf = (char *)hdr;
-       __u32 gen, old_crc = hdr->h_checksum;
-       struct ext2_inode inode;
+       __u32 old_crc = hdr->h_checksum;
 
        hdr->h_checksum = 0;
        block = ext2fs_cpu_to_le64(block);
index f877146..f46c407 100644 (file)
@@ -95,7 +95,6 @@ static errcode_t create_icache(ext2_filsys fs)
 {
        int             i;
        errcode_t       retval;
-       void            *p;
 
        if (fs->icache)
                return 0;
index 66fbc54..c1ecae8 100644 (file)
@@ -768,9 +768,8 @@ static void disable_uninit_bg(ext2_filsys fs, __u32 csum_feature_flag)
 static int update_feature_set(ext2_filsys fs, char *features)
 {
        struct ext2_super_block *sb = fs->super;
-       struct ext2_group_desc *gd;
        __u32           old_features[3];
-       int             i, type_err;
+       int             type_err;
        unsigned int    mask_err;
 
 #define FEATURE_ON(type, mask) (!(old_features[(type)] & (mask)) && \