From a938b5a12d7a68d45f4549bca670d8941304e750 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 4 Oct 2013 00:14:57 -0400 Subject: [PATCH] removed unused variable in vfwprintf --- src/stdio/vfwprintf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/stdio/vfwprintf.c b/src/stdio/vfwprintf.c index eb079312..3557678f 100644 --- a/src/stdio/vfwprintf.c +++ b/src/stdio/vfwprintf.c @@ -167,7 +167,7 @@ static const char sizeprefix['y'-'a'] = { static int wprintf_core(FILE *f, const wchar_t *fmt, va_list *ap, union arg *nl_arg, int *nl_type) { - wchar_t *a, *z, *s=(wchar_t *)fmt, *s0; + wchar_t *a, *z, *s=(wchar_t *)fmt; unsigned l10n=0, litpct, fl; int w, p; union arg arg; @@ -242,7 +242,6 @@ static int wprintf_core(FILE *f, const wchar_t *fmt, va_list *ap, union arg *nl_ } else p = -1; /* Format specifier state machine */ - s0=s; st=0; do { if (OOB(*s)) return -1; -- 2.25.1