nshlib/nsh_parse.c: Fix a warning about an uninitialized variable from the ZDS-II compiler.

This commit is contained in:
Gregory Nutt 2019-06-03 09:29:44 -06:00
parent 6c815a8d48
commit 8c36ec3f33

View File

@ -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 */