summaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh_parse.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-02-07 10:56:24 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-02-07 10:56:24 -0600
commit2d58f3726de7ce54cdeee8ae35c80fc7aae7e931 (patch)
tree91324058ce1edfc59ed84efbaaa54f3810316b46 /apps/nshlib/nsh_parse.c
parentbcde5f18638e9f9bea835f63736514791643e257 (diff)
downloadnuttx-2d58f3726de7ce54cdeee8ae35c80fc7aae7e931.tar.gz
nuttx-2d58f3726de7ce54cdeee8ae35c80fc7aae7e931.tar.bz2
nuttx-2d58f3726de7ce54cdeee8ae35c80fc7aae7e931.zip
More changes for a correct NSH Windows natvie build
Diffstat (limited to 'apps/nshlib/nsh_parse.c')
-rw-r--r--apps/nshlib/nsh_parse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/nshlib/nsh_parse.c b/apps/nshlib/nsh_parse.c
index 9641cd416..45e3b8508 100644
--- a/apps/nshlib/nsh_parse.c
+++ b/apps/nshlib/nsh_parse.c
@@ -1168,7 +1168,11 @@ static FAR char *nsh_argexpand(FAR struct nsh_vtbl_s *vtbl, FAR char *cmdline,
argument = nsh_strcat(vtbl, argument, envstr);
*allocation = argument;
}
+ else
#endif
+ {
+ /* Just to catch any dangling else clauses */
+ }
}
}