[PATCH v2] xfsprogs: eliminate some build warnings

Alex Elder aelder at sgi.com
Fri Feb 12 16:58:44 CST 2010


A few minor changes to get rid of some build warnings.

Signed-off-by: Alex Elder <aelder at sgi.com>

---
 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:




More information about the xfs mailing list