summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcschr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/wcschr.c')
-rw-r--r--lib/libc/string/wcschr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/string/wcschr.c b/lib/libc/string/wcschr.c
index 9c600bf..9c253dc 100644
--- a/lib/libc/string/wcschr.c
+++ b/lib/libc/string/wcschr.c
@@ -45,8 +45,6 @@ wcschr(s, c)
{
const wchar_t *p;
- _DIAGASSERT(s != NULL);
-
p = s;
while (*p) {
if (*p == c) {
OpenPOWER on IntegriCloud