summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcslcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/wcslcpy.c')
-rw-r--r--lib/libc/string/wcslcpy.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libc/string/wcslcpy.c b/lib/libc/string/wcslcpy.c
index c8086b8..ff883e0 100644
--- a/lib/libc/string/wcslcpy.c
+++ b/lib/libc/string/wcslcpy.c
@@ -54,9 +54,6 @@ wcslcpy(dst, src, siz)
const wchar_t *s = src;
size_t n = siz;
- _DIAGASSERT(dst != NULL);
- _DIAGASSERT(src != NULL);
-
/* Copy as many bytes as will fit */
if (n != 0 && --n != 0) {
do {
OpenPOWER on IntegriCloud