From 250e0055fe0596f0f13d6e30f0bfe086702f5a25 Mon Sep 17 00:00:00 2001 From: Felix Janda Date: Wed, 21 Nov 2012 20:38:29 +0100 Subject: Make internalization support optional --- toys/posix/wc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'toys/posix/wc.c') diff --git a/toys/posix/wc.c b/toys/posix/wc.c index 19ba4b8b..63128d67 100644 --- a/toys/posix/wc.c +++ b/toys/posix/wc.c @@ -48,7 +48,6 @@ static void show_lengths(unsigned long *lengths, char *name) static void do_wc(int fd, char *name) { int i, len, clen=1, space; - wchar_t wchar; unsigned long word=0, lengths[]={0,0,0}; for (;;) { @@ -59,6 +58,8 @@ static void do_wc(int fd, char *name) } if (len<1) break; for (i=0; i>1; loopfiles(toys.optargs, do_wc); if (toys.optc>1) show_lengths(TT.totals, "total"); -- cgit v1.2.3