diff options
author | Yunfeng Ye <yeyunfeng@huawei.com> | 2019-12-17 22:46:49 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-12-21 21:00:53 -0500 |
commit | 68d7b2d838f1aff4d46a793a2fae33e8ad19223e (patch) | |
tree | dbd98a4c0749e6878b5a01dc522c08fe9b291171 /fs/ubifs | |
parent | d82d47d5d8a6d40bb622cef31b6c6fa09cbd01ea (diff) |
ext4: fix unused-but-set-variable warning in ext4_add_entry()
Warning is found when compile with "-Wunused-but-set-variable":
fs/ext4/namei.c: In function ‘ext4_add_entry’:
fs/ext4/namei.c:2167:23: warning: variable ‘sbi’ set but not used
[-Wunused-but-set-variable]
struct ext4_sb_info *sbi;
^~~
Fix this by moving the variable @sbi under CONFIG_UNICODE.
Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/cb5eb904-224a-9701-c38f-cb23514b1fff@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions