From: Ruediger Pluem Date: Thu, 18 Feb 2010 18:59:26 +0000 (+0000) Subject: * Silence compiler warning X-Git-Tag: 2.3.6~455 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d0b18c8e45c6d7d7ce21cb19f530908dc6336841;p=thirdparty%2Fapache%2Fhttpd.git * Silence compiler warning git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@911528 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_socache_shmcb.c b/modules/cache/mod_socache_shmcb.c index 487f41a2575..301b95965a5 100644 --- a/modules/cache/mod_socache_shmcb.c +++ b/modules/cache/mod_socache_shmcb.c @@ -632,7 +632,7 @@ apr_status_t socache_shmcb_iterate(ap_socache_instance_t *instance, 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