diff options
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> | 2006-03-25 03:07:54 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 08:22:57 -0800 |
commit | d5ee4ea8334368b7d284a7d82855f6f16ba599b4 (patch) | |
tree | 054713f586c18b8a9661f7515dd598e63860d6a5 /fs/reiserfs/item_ops.c | |
parent | 66777b795ca49f0e8708f1953022449e7e2acb48 (diff) | |
download | linux-rpi3-d5ee4ea8334368b7d284a7d82855f6f16ba599b4.tar.gz linux-rpi3-d5ee4ea8334368b7d284a7d82855f6f16ba599b4.tar.bz2 linux-rpi3-d5ee4ea8334368b7d284a7d82855f6f16ba599b4.zip |
[PATCH] indirect_print_item() warning fix
fs/reiserfs/item_ops.c: In function 'indirect_print_item':
fs/reiserfs/item_ops.c:278: warning: 'num' may be used uninitialized in this function
(akpm: this is probably just gcc being dumb)
Signed-off-by: Benoit Boissinot <benoit.boissinot@ens-lyon.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/reiserfs/item_ops.c')
-rw-r--r-- | fs/reiserfs/item_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/item_ops.c b/fs/reiserfs/item_ops.c index e237cd668e5b..7a88adbceef6 100644 --- a/fs/reiserfs/item_ops.c +++ b/fs/reiserfs/item_ops.c @@ -275,7 +275,7 @@ static void indirect_print_item(struct item_head *ih, char *item) int j; __le32 *unp; __u32 prev = INT_MAX; - int num; + int num = 0; unp = (__le32 *) item; |