apps/nshlib/nsh_parse.c: Fix a warning (really a bug) detected in build testing.
This commit is contained in:
parent
7f7b728231
commit
2bc4d1e8e2
@ -1269,7 +1269,7 @@ static FAR char *nsh_argexpand(FAR struct nsh_vtbl_s *vtbl, FAR char *cmdline,
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_NSH_VARS
|
#ifdef NSH_HAVE_VARS
|
||||||
/* Check if we encountered a reference to an environment variable */
|
/* Check if we encountered a reference to an environment variable */
|
||||||
|
|
||||||
if (*ptr == '$')
|
if (*ptr == '$')
|
||||||
|
Loading…
Reference in New Issue
Block a user