You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2010/02/18 19:59:27 UTC
svn commit: r911528 - /httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
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