forked from Imagelibrary/rtems
cpukit/libfs/src/jffs2/src/fs-rtems.c: Used before initialized warning
Initialized pointer variable to address used before initialized.
This commit is contained in:
committed by
Kinsey Moore
parent
82552c7e4d
commit
40769810ff
@@ -1374,7 +1374,7 @@ int rtems_jffs2_initialize(
|
|||||||
);
|
);
|
||||||
bool do_mount_fs_was_successful = false;
|
bool do_mount_fs_was_successful = false;
|
||||||
struct super_block *sb;
|
struct super_block *sb;
|
||||||
struct jffs2_sb_info *c;
|
struct jffs2_sb_info *c = NULL;
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
if (fs_info != NULL) {
|
if (fs_info != NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user