diff options
Diffstat (limited to 'lib/libc/string/wcswidth.c')
-rw-r--r-- | lib/libc/string/wcswidth.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/string/wcswidth.c b/lib/libc/string/wcswidth.c index 0bc2ebe863cd..ed3eb9dbef40 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); |