diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-10-04 00:14:57 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-10-04 00:14:57 -0400 |
commit | a938b5a12d7a68d45f4549bca670d8941304e750 (patch) | |
tree | 435695bf506f1dcc5b14014174b63f9f09a360f6 | |
parent | 2b2aff37aced66e4a50a38a14607a9b1dc0ee001 (diff) | |
download | musl-a938b5a12d7a68d45f4549bca670d8941304e750.tar.gz musl-a938b5a12d7a68d45f4549bca670d8941304e750.tar.bz2 musl-a938b5a12d7a68d45f4549bca670d8941304e750.tar.xz musl-a938b5a12d7a68d45f4549bca670d8941304e750.zip |
removed unused variable in vfwprintf
-rw-r--r-- | src/stdio/vfwprintf.c | 3 |
1 files changed, 1 insertions, 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; |