aboutsummaryrefslogtreecommitdiff
path: root/nuttx/libc
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-09 17:34:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-09 17:34:53 +0000
commit200ce6d7ff301e68d6b90ac40a22866190b4c80b (patch)
tree4fef4188983666292e6f47cc0833655f349c20f7 /nuttx/libc
parent93683ae1b56bc740d1377e76507162a6f00018ea (diff)
downloadpx4-firmware-200ce6d7ff301e68d6b90ac40a22866190b4c80b.tar.gz
px4-firmware-200ce6d7ff301e68d6b90ac40a22866190b4c80b.tar.bz2
px4-firmware-200ce6d7ff301e68d6b90ac40a22866190b4c80b.zip
configs/xtrs/nsh and pashello now use kconfig-frontends and build Windows native
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5422 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libc')
-rw-r--r--nuttx/libc/string/lib_strcasestr.c4
-rw-r--r--nuttx/libc/string/lib_strstr.c4
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;
}