apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: apr/strings apr_strings.c
Date Sun, 04 Aug 2002 04:28:41 GMT
brianp      2002/08/03 21:28:41

  Modified:    strings  apr_strings.c
  Log:
  fix an uninitialized variable
  
  Revision  Changes    Path
  1.36      +1 -0      apr/strings/apr_strings.c
  
  Index: apr_strings.c
  ===================================================================
  RCS file: /home/cvs/apr/strings/apr_strings.c,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- apr_strings.c	3 Aug 2002 22:06:59 -0000	1.35
  +++ apr_strings.c	4 Aug 2002 04:28:41 -0000	1.36
  @@ -325,6 +325,7 @@
        * Set 'any' if any `digits' consumed; make it negative to indicate
        * overflow.
        */
  +    val = 0;
       while (acc >= 0 && (c = *s++)) {
           if (c >= '0' && c <= '9')
   	    c -= '0';
  
  
  

Mime
View raw message