[dovecot-cvs] dovecot/src/lib printf-upper-bound.c,1.7,1.8

tss at dovecot.org tss at dovecot.org
Sun Nov 5 11:53:27 UTC 2006


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv20403

Modified Files:
	printf-upper-bound.c 
Log Message:
Removed some unneeded state keeping.



Index: printf-upper-bound.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/printf-upper-bound.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- printf-upper-bound.c	13 Jan 2006 20:26:01 -0000	1.7
+++ printf-upper-bound.c	5 Nov 2006 11:53:25 -0000	1.8
@@ -54,7 +54,7 @@
 {
   unsigned int min_width;
   unsigned int precision;
-  int alternate_format, zero_padding, adjust_left, locale_grouping;
+  int alternate_format, locale_grouping;
   int add_space, add_sign, possible_sign, seen_precision;
   int mod_long, mod_extra_long;
 } PrintfArgSpec;
@@ -122,10 +122,7 @@
                   spec.alternate_format = TRUE;
                   break;
                 case '0':
-                  spec.zero_padding = TRUE;
-                  break;
                 case '-':
-                  spec.adjust_left = TRUE;
                   break;
                 case ' ':
                   spec.add_space = TRUE;
@@ -175,10 +172,7 @@
                   else
                     {
                       if (v_int < 0)
-                        {
                           v_int = - v_int;
-                          spec.adjust_left = TRUE;
-                        }
                       spec.min_width = I_MAX ((int)spec.min_width, v_int);
                     }
                   break;



More information about the dovecot-cvs mailing list