apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r630528 - /apr/apr/trunk/strings/apr_snprintf.c
Date Sat, 23 Feb 2008 20:07:08 GMT
Author: rpluem
Date: Sat Feb 23 12:07:07 2008
New Revision: 630528

URL: http://svn.apache.org/viewvc?rev=630528&view=rev
Log:
* Fix compiler warning for uninitialized variable

Spotted by: Sebastian Gottschalk <seppig_relay gmx.de>
Reviewed by: rpluem

Modified:
    apr/apr/trunk/strings/apr_snprintf.c

Modified: apr/apr/trunk/strings/apr_snprintf.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/strings/apr_snprintf.c?rev=630528&r1=630527&r2=630528&view=diff
==============================================================================
--- apr/apr/trunk/strings/apr_snprintf.c (original)
+++ apr/apr/trunk/strings/apr_snprintf.c Sat Feb 23 12:07:07 2008
@@ -689,7 +689,7 @@
 
     register char *s = NULL;
     char *q;
-    apr_size_t s_len;
+    apr_size_t s_len = 0;
 
     register apr_size_t min_width = 0;
     apr_size_t precision = 0;



Mime
View raw message