mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-21 23:02:13 +08:00
nshlib/nsh_parse.c: Fix a warning about an uninitialized variable from the ZDS-II compiler.
This commit is contained in:
@@ -2329,7 +2329,7 @@ static int nsh_parse_command(FAR struct nsh_vtbl_s *vtbl, FAR char *cmdline)
|
|||||||
int argc;
|
int argc;
|
||||||
int ret;
|
int ret;
|
||||||
#if CONFIG_NFILE_STREAMS > 0
|
#if CONFIG_NFILE_STREAMS > 0
|
||||||
bool redirect_save;
|
bool redirect_save = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Initialize parser state */
|
/* Initialize parser state */
|
||||||
|
Reference in New Issue
Block a user