[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141025205629.532.30496.stgit@birch.djwong.org>
Date: Sat, 25 Oct 2014 13:56:30 -0700
From: "Darrick J. Wong" <darrick.wong@...cle.com>
To: tytso@....edu, darrick.wong@...cle.com
Cc: linux-ext4@...r.kernel.org
Subject: [PATCH 01/39] misc: fix compiler warnings
Fix some gcc-4.8 warnings.
Signed-off-by: Darrick J. Wong <darrick.wong@...cle.com>
---
e2fsck/pass5.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/e2fsck/pass5.c b/e2fsck/pass5.c
index 8d6032b..64fb7fe 100644
--- a/e2fsck/pass5.c
+++ b/e2fsck/pass5.c
@@ -84,7 +84,7 @@ void e2fsck_pass5(e2fsck_t ctx)
static void check_inode_bitmap_checksum(e2fsck_t ctx)
{
struct problem_context pctx;
- char *buf;
+ char *buf = NULL;
dgrp_t i;
int nbytes;
ext2_ino_t ino_itr;
@@ -139,7 +139,7 @@ static void check_inode_bitmap_checksum(e2fsck_t ctx)
static void check_block_bitmap_checksum(e2fsck_t ctx)
{
struct problem_context pctx;
- char *buf;
+ char *buf = NULL;
dgrp_t i;
int nbytes;
blk64_t blk_itr;
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists