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:
Joel Sherrill
2025-07-17 16:44:54 -05:00
committed by Kinsey Moore
parent 82552c7e4d
commit 40769810ff

View File

@@ -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) {