mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 04:30:52 +07:00
[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>
This commit is contained in:
parent
66777b795c
commit
d5ee4ea833
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user