]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfsprogs: eliminate some build warnings
authorAlex Elder <aelder@sgi.com>
Fri, 12 Feb 2010 22:58:44 +0000 (22:58 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 6 May 2010 17:34:12 +0000 (12:34 -0500)
A few minor changes to get rid of some build warnings.

Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
db/check.c

index 7620d9c27fcb50c128bf0e640799eaccbb1a53c6..c62321b51e49863ad5beca41901a2f08ba2a962d 100644 (file)
@@ -3059,7 +3059,7 @@ process_leaf_node_dir_v2(
        xfs_ino_t               lino;
        int                     nex;
        xfs_ino_t               parent;
-       int                     t;
+       int                     t = 0;
        int                     v;
        int                     v2;
        int                     x;
@@ -3403,7 +3403,7 @@ process_quota(
        xfs_fileoff_t   qbno;
        char            *s = NULL;
        int             scicb;
-       int             t;
+       int             t = 0;
 
        switch (qtype) {
        case IS_USER_QUOTA: