summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2010-12-02 13:40:21 +0000
committergavin <gavin@FreeBSD.org>2010-12-02 13:40:21 +0000
commit37a5968ad36aef19e345edf83c467c43a25c207c (patch)
treedc65726cf49548829b3d2c5b3626e67fbfdebbaf /lib
parentfa728dd4eada8c1f067e843700e82fcb855a0881 (diff)
downloadFreeBSD-src-37a5968ad36aef19e345edf83c467c43a25c207c.zip
FreeBSD-src-37a5968ad36aef19e345edf83c467c43a25c207c.tar.gz
Remove two unused variables, left over from the refactoring in r180104.
PR: bin/152551 Submitted by: Henning Petersen <henning.petersen t-online.de> MFC after: 2 weeks
Diffstat (limited to 'lib')
-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