diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-02-07 10:56:24 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-02-07 10:56:24 -0600 |
commit | 2d58f3726de7ce54cdeee8ae35c80fc7aae7e931 (patch) | |
tree | 91324058ce1edfc59ed84efbaaa54f3810316b46 /apps/nshlib | |
parent | bcde5f18638e9f9bea835f63736514791643e257 (diff) | |
download | nuttx-2d58f3726de7ce54cdeee8ae35c80fc7aae7e931.tar.gz nuttx-2d58f3726de7ce54cdeee8ae35c80fc7aae7e931.tar.bz2 nuttx-2d58f3726de7ce54cdeee8ae35c80fc7aae7e931.zip |
More changes for a correct NSH Windows natvie build
Diffstat (limited to 'apps/nshlib')
-rw-r--r-- | apps/nshlib/nsh_parse.c | 4 |
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 */ + } } } |