Message ID | 20141025205629.532.30496.stgit@birch.djwong.org |
---|---|
State | Accepted, archived |
Headers | show |
On Sat, Oct 25, 2014 at 01:56:30PM -0700, Darrick J. Wong wrote: > Fix some gcc-4.8 warnings. > > Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Applied, thanks. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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;
Fix some gcc-4.8 warnings. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> --- e2fsck/pass5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html