diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-04-08 20:58:47 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-04-08 20:58:47 +0000 |
commit | 460f9ad102f6bef71bb187752845f22ec04699fa (patch) | |
tree | 8b554b2976027b7f7de89e0c0c80b747b531bdeb /lib/libc/stdio/vfscanf.c | |
parent | 580e3f5631b41cd87bf914e6e7d3670da6812d09 (diff) | |
download | FreeBSD-src-460f9ad102f6bef71bb187752845f22ec04699fa.zip FreeBSD-src-460f9ad102f6bef71bb187752845f22ec04699fa.tar.gz |
Remove unused variable.
Diffstat (limited to 'lib/libc/stdio/vfscanf.c')
-rw-r--r-- | lib/libc/stdio/vfscanf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/stdio/vfscanf.c b/lib/libc/stdio/vfscanf.c index 118323f..ea3004c 100644 --- a/lib/libc/stdio/vfscanf.c +++ b/lib/libc/stdio/vfscanf.c @@ -138,7 +138,6 @@ __svfscanf(FILE *fp, const char *fmt0, va_list ap) char ccltab[256]; /* character class table for %[...] */ char buf[BUF]; /* buffer for numeric and mb conversions */ wchar_t *wcp; /* handy wide character pointer */ - wchar_t *wcp0; /* saves original value of wcp */ size_t nconv; /* length of multibyte sequence converted */ static const mbstate_t initial; mbstate_t mbs; @@ -434,9 +433,9 @@ literal: int nchars; if ((flags & SUPPRESS) == 0) - wcp = wcp0 = va_arg(ap, wchar_t *); + wcp = va_arg(ap, wchar_t *); else - wcp = wcp0 = &twc; + wcp = &twc; n = 0; nchars = 0; while (width != 0) { |