Message ID | 20100411040634.GF11751@kryten |
---|---|
State | Changes Requested |
Headers | show |
Index: yaboot/second/fs_reiserfs.c =================================================================== --- yaboot.orig/second/fs_reiserfs.c 2010-04-11 12:17:51.000000000 +1000 +++ yaboot/second/fs_reiserfs.c 2010-04-11 12:18:00.000000000 +1000 @@ -211,7 +211,7 @@ block_read( __u32 blockNr, __u32 start, while ( transactions-- > 0 ) { int i = 0; - int j_len; + int j_len = 0; if ( *journal_table != 0xffffffff ) {
gcc is spewing an unused warning about j_len. We initialise it in both cases of the if statement, but initialise it to 0 anyway to avoid the warning. Signed-off-by: Anton Blanchard <anton@samba.org> ---