summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJonas Aaberg <jonas.aberg@stericsson.com>2011-06-08 13:26:48 +0200
committersaid m bagheri <ebgheri@steludxu2848.(none)>2011-06-17 13:42:14 +0200
commitf96953d91ddf22eb7226ca49fcc00f162af8853c (patch)
tree6dbf09381b80cf2fc449beb0fdde31b322ddb9c1 /fs
parentb94d3d025028d141deeffa1ed1a87f6b69f644e4 (diff)
FS: FAT: Mark unitialized variable
Remove a compile warning ST-Ericsson Linux next: Not tested, ask SSM for ER ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Change-Id: I16f53b75062ad0ed18e4f0ed128353a3a77d555d Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24636 Reviewed-by: QATEST Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Tested-by: Linus WALLEIJ <linus.walleij@stericsson.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/fat/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/dir.c b/fs/fat/dir.c
index aace9be592b..356c77ce596 100644
--- a/fs/fat/dir.c
+++ b/fs/fat/dir.c
@@ -1229,7 +1229,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 = NULL;
+ struct msdos_dir_entry *uninitialized_var(de);
int err, free_slots, i, nr_bhs;
loff_t pos, i_pos;