mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-13 16:50:05 +00:00
[LogFS] Silence gcc
Andrew Morton sayeth: fs/logfs/journal.c: In function 'logfs_init_journal': fs/logfs/journal.c:266: warning: 'last_len' may be used uninitialized in this function Can this be squished please?
This commit is contained in:
parent
30835cd074
commit
5c564c2a04
@ -263,7 +263,7 @@ static int logfs_read_segment(struct super_block *sb, u32 segno)
|
||||
struct logfs_journal_header *jh = super->s_compressed_je;
|
||||
u64 ofs, seg_ofs = dev_ofs(sb, segno, 0);
|
||||
u32 h_ofs, last_ofs = 0;
|
||||
u16 len, datalen, last_len;
|
||||
u16 len, datalen, last_len = 0;
|
||||
int i, err;
|
||||
|
||||
/* search for most recent commit */
|
||||
|
Loading…
x
Reference in New Issue
Block a user