projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30835cd
)
[LogFS] Silence gcc
author
Joern Engel
<joern@logfs.org>
Mon, 7 Dec 2009 11:34:43 +0000
(12:34 +0100)
committer
Joern Engel
<joern@logfs.org>
Mon, 7 Dec 2009 11:34:43 +0000
(12:34 +0100)
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?
fs/logfs/journal.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/logfs/journal.c
b/fs/logfs/journal.c
index 7a023dbba9f878d18eaabdb95323cccba1993223..2f2e8e4fd02deda2f14a51011ca04f34b6c516f9 100644
(file)
--- a/
fs/logfs/journal.c
+++ b/
fs/logfs/journal.c
@@
-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 */