projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02f8c6a
)
fat: fix build warning
author
Jonas Aberg
<
[email protected]
>
Wed, 17 Aug 2011 10:10:06 +0000
(19:10 +0900)
committer
OGAWA Hirofumi
<
[email protected]
>
Wed, 17 Aug 2011 10:34:58 +0000
(19:34 +0900)
This fixes a compile warning (unititialized variable) in
the fat filesystem code.
Signed-off-by: Jonas Aberg <
[email protected]
>
Signed-off-by: Lee Jones <
[email protected]
>
Signed-off-by: Linus Walleij <
[email protected]
>
Signed-off-by: OGAWA Hirofumi <
[email protected]
>
fs/fat/dir.c
patch
|
blob
|
history
diff --git
a/fs/fat/dir.c
b/fs/fat/dir.c
index 4ad64732cbced5460d238d637f54f596e4ab0a07..5efbd5d7701a1d63721f646958d92f36830807f0 100644
(file)
--- a/
fs/fat/dir.c
+++ b/
fs/fat/dir.c
@@
-1231,7
+1231,7
@@
int fat_add_entries(struct inode *dir, void *slots, int nr_slots,
struct super_block *sb = dir->i_sb;
struct msdos_sb_info *sbi = MSDOS_SB(sb);
struct buffer_head *bh, *prev, *bhs[3]; /* 32*slots (672bytes) */
- struct msdos_dir_entry *
de
;
+ struct msdos_dir_entry *
uninitialized_var(de)
;
int err, free_slots, i, nr_bhs;
loff_t pos, i_pos;