summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcswidth.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/wcswidth.c')
-rw-r--r--lib/libc/string/wcswidth.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/string/wcswidth.c b/lib/libc/string/wcswidth.c
index 0bc2ebe..ed3eb9d 100644
--- a/lib/libc/string/wcswidth.c
+++ b/lib/libc/string/wcswidth.c
@@ -45,8 +45,6 @@ wcswidth(s, n)
{
int w;
- _DIAGASSERT(s != NULL);
-
w = 0;
while (n && *s) {
w += wcwidth(*s);
OpenPOWER on IntegriCloud