diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-09 17:34:53 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-09 17:34:53 +0000 |
commit | 248fef86608d465419947c9f442ecd5d88b60df8 (patch) | |
tree | 4fef4188983666292e6f47cc0833655f349c20f7 /apps/nshlib/nsh_consolemain.c | |
parent | 9085db20b3c7ce781f807e5570ed5c8dc84a66d7 (diff) | |
download | nuttx-248fef86608d465419947c9f442ecd5d88b60df8.tar.gz nuttx-248fef86608d465419947c9f442ecd5d88b60df8.tar.bz2 nuttx-248fef86608d465419947c9f442ecd5d88b60df8.zip |
configs/xtrs/nsh and pashello now use kconfig-frontends and build Windows native
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5422 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib/nsh_consolemain.c')
-rw-r--r-- | apps/nshlib/nsh_consolemain.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/nshlib/nsh_consolemain.c b/apps/nshlib/nsh_consolemain.c index 6b51be470..f05447a64 100644 --- a/apps/nshlib/nsh_consolemain.c +++ b/apps/nshlib/nsh_consolemain.c @@ -160,11 +160,11 @@ int nsh_consolemain(int argc, char *argv[]) } } - /* Clean up */ + /* Clean up. We do not get here, but this is necessary to keep some + * compilers happy. But others will complain that this code is not + * reachable. + */ nsh_exit(&pstate->cn_vtbl, 0); - - /* We do not get here, but this is necessary to keep some compilers happy */ - return OK; } |