Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7db275
)
e2fsck: fix compiler warnings
author
Darrick J. Wong
<darrick.wong@oracle.com>
Tue, 4 Nov 2014 16:35:56 +0000
(11:35 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 4 Nov 2014 16:35:56 +0000
(11:35 -0500)
Fix some gcc-4.8 warnings.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass5.c
patch
|
blob
|
history
diff --git
a/e2fsck/pass5.c
b/e2fsck/pass5.c
index
8d6032b
..
64fb7fe
100644
(file)
--- 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;