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':
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to