mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-18 00:11:20 +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 ret;
|
||||
#if CONFIG_NFILE_STREAMS > 0
|
||||
bool redirect_save;
|
||||
bool redirect_save = false;
|
||||
#endif
|
||||
|
||||
/* Initialize parser state */
|
||||
|
Reference in New Issue
Block a user