mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-16 18:03:23 +00:00
apps/nshlib/nsh_parse.c: Fix a warning (really a bug) detected in build testing.
This commit is contained in:
parent
7f7b728231
commit
2bc4d1e8e2
1 changed files with 1 additions and 1 deletions
|
|
@ -1269,7 +1269,7 @@ static FAR char *nsh_argexpand(FAR struct nsh_vtbl_s *vtbl, FAR char *cmdline,
|
|||
else
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NSH_VARS
|
||||
#ifdef NSH_HAVE_VARS
|
||||
/* Check if we encountered a reference to an environment variable */
|
||||
|
||||
if (*ptr == '$')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue