| Submitter | Anton Blanchard |
|---|---|
| Date | April 11, 2010, 4:06 a.m. |
| Message ID | <20100411040634.GF11751@kryten> |
| Download | mbox | patch |
| Permalink | /patch/57975/ |
| State | Changes Requested |
| Headers | show |
Comments
Patch
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> ---