projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66777b7
)
[PATCH] indirect_print_item() warning fix
author
Benoit Boissinot
<benoit.boissinot@ens-lyon.org>
Sat, 25 Mar 2006 11:07:54 +0000
(
03:07
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:57 +0000
(08:22 -0800)
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>
fs/reiserfs/item_ops.c
patch
|
blob
|
history
diff --git
a/fs/reiserfs/item_ops.c
b/fs/reiserfs/item_ops.c
index
e237cd6
..
7a88adb
100644
(file)
--- 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;