diff options
Diffstat (limited to 'toys/posix/wc.c')
-rw-r--r-- | toys/posix/wc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/toys/posix/wc.c b/toys/posix/wc.c index 96ff9788..69c5f382 100644 --- a/toys/posix/wc.c +++ b/toys/posix/wc.c @@ -79,7 +79,6 @@ static void do_wc(int fd, char *name) wchar_t wchar; // next wide size, don't count invalid, fetch more data if necessary - clen = mbrtowc(&wchar, toybuf+pos, len-pos, 0); clen = utf8towc(&wchar, toybuf+pos, len-pos); if (clen == -1) continue; if (clen == -2 && !done) break; |