Fix some gcc-4.8 warnings. Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> --- 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html