summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcsncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/wcsncpy.c')
-rw-r--r--lib/libc/string/wcsncpy.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libc/string/wcsncpy.c b/lib/libc/string/wcsncpy.c
index d3f61d2..b184628 100644
--- a/lib/libc/string/wcsncpy.c
+++ b/lib/libc/string/wcsncpy.c
@@ -47,9 +47,6 @@ wcsncpy(s1, s2, n)
wchar_t *p;
const wchar_t *q;
- _DIAGASSERT(s1 != NULL);
- _DIAGASSERT(s2 != NULL);
-
*s1 = '\0';
p = s1;
q = s2;
OpenPOWER on IntegriCloud