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 /nuttx/libc/string | |
parent | 9085db20b3c7ce781f807e5570ed5c8dc84a66d7 (diff) | |
download | px4-nuttx-248fef86608d465419947c9f442ecd5d88b60df8.tar.gz px4-nuttx-248fef86608d465419947c9f442ecd5d88b60df8.tar.bz2 px4-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 'nuttx/libc/string')
-rw-r--r-- | nuttx/libc/string/lib_strcasestr.c | 4 | ||||
-rw-r--r-- | nuttx/libc/string/lib_strstr.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/libc/string/lib_strcasestr.c b/nuttx/libc/string/lib_strcasestr.c index 5a8d53bee..7f17a686d 100644 --- a/nuttx/libc/string/lib_strcasestr.c +++ b/nuttx/libc/string/lib_strcasestr.c @@ -127,7 +127,9 @@ FAR char *strcasestr(FAR const char *str, FAR const char *substr) candidate++; } - /* Won't get here, but some compilers might complain */ + /* Won't get here, but some compilers might complain. Others might complain + * about this code being unreachable too. + */ return NULL; } diff --git a/nuttx/libc/string/lib_strstr.c b/nuttx/libc/string/lib_strstr.c index 02f4809d2..7a60a680d 100644 --- a/nuttx/libc/string/lib_strstr.c +++ b/nuttx/libc/string/lib_strstr.c @@ -97,7 +97,9 @@ char *strstr(const char *str, const char *substr) candidate++; } - /* Won't get here, but some compilers might complain */ + /* Won't get here, but some compilers might complain. Other compilers + * might complain about this code being unreachable too. + */ return NULL; } |