apps/nshlib/nsh_parse.c: Fix a warning (really a bug) detected in build testing.

This commit is contained in:
Gregory Nutt 2018-10-02 11:08:17 -06:00
parent 7f7b728231
commit 2bc4d1e8e2

View File

@ -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 == '$')