svn commit: r232838 - stable/8/lib/libc/stdio
Gavin Atkinson
gavin at FreeBSD.org
Sun Mar 11 22:07:42 UTC 2012
Author: gavin
Date: Sun Mar 11 22:07:41 2012
New Revision: 232838
URL: http://svn.freebsd.org/changeset/base/232838
Log:
Merge r216121 from head:
Remove two unused variables, left over from the refactoring in r180104.
PR: bin/152551
Submitted by: Henning Petersen <henning.petersen t-online.de>
Modified:
stable/8/lib/libc/stdio/printf-pos.c
Directory Properties:
stable/8/lib/libc/ (props changed)
Modified: stable/8/lib/libc/stdio/printf-pos.c
==============================================================================
--- stable/8/lib/libc/stdio/printf-pos.c Sun Mar 11 21:25:42 2012 (r232837)
+++ stable/8/lib/libc/stdio/printf-pos.c Sun Mar 11 22:07:41 2012 (r232838)
@@ -248,7 +248,6 @@ __find_arguments (const char *fmt0, va_l
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_l
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,
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,
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':
More information about the svn-src-stable-8
mailing list