summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/printf-pos.c
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2011-05-29 02:53:52 +0000
committerhrs <hrs@FreeBSD.org>2011-05-29 02:53:52 +0000
commit8fe640108653f13042f1b15213769e338aa524f6 (patch)
tree91f5675a7c792e61d68635707501027daa3f566f /lib/libc/stdio/printf-pos.c
parent97f64b711efa9ff0011bef5d46cf9645638a38f9 (diff)
parentf3726238c8e8206eb1df4cfaf3f00947ceba3cce (diff)
downloadFreeBSD-src-8fe640108653f13042f1b15213769e338aa524f6.zip
FreeBSD-src-8fe640108653f13042f1b15213769e338aa524f6.tar.gz
Merge from head@222434.
Diffstat (limited to 'lib/libc/stdio/printf-pos.c')
-rw-r--r--lib/libc/stdio/printf-pos.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libc/stdio/printf-pos.c b/lib/libc/stdio/printf-pos.c
index 1648957..c42bd85 100644
--- a/lib/libc/stdio/printf-pos.c
+++ b/lib/libc/stdio/printf-pos.c
@@ -248,7 +248,6 @@ __find_arguments (const char *fmt0, va_list ap, union arg **argtable)
int n; /* handy integer (short term usage) */
int error;
int flags; /* flags as above */
- int width; /* width from format (%8d), or 0 */
struct typetable types; /* table of types */
fmt = (char *)fmt0;
@@ -266,7 +265,6 @@ __find_arguments (const char *fmt0, va_list ap, union arg **argtable)
fmt++; /* skip over '%' */
flags = 0;
- width = 0;
rflag: ch = *fmt++;
reswitch: switch (ch) {
@@ -304,7 +302,6 @@ reswitch: switch (ch) {
types.nextarg = n;
goto rflag;
}
- width = n;
goto reswitch;
#ifndef NO_FLOATING_POINT
case 'L':
@@ -439,7 +436,6 @@ __find_warguments (const wchar_t *fmt0, va_list ap, union arg **argtable)
int n; /* handy integer (short term usage) */
int error;
int flags; /* flags as above */
- int width; /* width from format (%8d), or 0 */
struct typetable types; /* table of types */
fmt = (wchar_t *)fmt0;
@@ -457,7 +453,6 @@ __find_warguments (const wchar_t *fmt0, va_list ap, union arg **argtable)
fmt++; /* skip over '%' */
flags = 0;
- width = 0;
rflag: ch = *fmt++;
reswitch: switch (ch) {
@@ -495,7 +490,6 @@ reswitch: switch (ch) {
types.nextarg = n;
goto rflag;
}
- width = n;
goto reswitch;
#ifndef NO_FLOATING_POINT
case 'L':
OpenPOWER on IntegriCloud