xfs
[Top] [All Lists]

[PATCH v2] xfsprogs: eliminate some build warnings

To: xfs@xxxxxxxxxxx
Subject: [PATCH v2] xfsprogs: eliminate some build warnings
From: Alex Elder <aelder@xxxxxxx>
Date: Fri, 12 Feb 2010 16:58:44 -0600
User-agent: Heirloom mailx 12.4 7/29/08
A few minor changes to get rid of some build warnings.

Signed-off-by: Alex Elder <aelder@xxxxxxx>

---
 db/check.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: b/db/check.c
===================================================================
--- a/db/check.c
+++ b/db/check.c
@@ -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:

<Prev in Thread] Current Thread [Next in Thread>