httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r911528 - /httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
Date Thu, 18 Feb 2010 18:59:27 GMT
Author: rpluem
Date: Thu Feb 18 18:59:26 2010
New Revision: 911528

URL: http://svn.apache.org/viewvc?rev=911528&view=rev
Log:
* Silence compiler warning

Modified:
    httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c

Modified: httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c?rev=911528&r1=911527&r2=911528&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c Thu Feb 18 18:59:26 2010
@@ -632,7 +632,7 @@
     apr_time_t now = apr_time_now();
     apr_status_t rv = APR_SUCCESS;
     apr_size_t buflen = 0;
-    unsigned char *buf;
+    unsigned char *buf = NULL;
 
     /* Perform the iteration inside the mutex to avoid corruption or invalid
      * pointer arithmetic. The rest of our logic uses read-only header data so



Mime
View raw message