From d0b18c8e45c6d7d7ce21cb19f530908dc6336841 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Thu, 18 Feb 2010 18:59:26 +0000 Subject: [PATCH] * Silence compiler warning git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@911528 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cache/mod_socache_shmcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cache/mod_socache_shmcb.c b/modules/cache/mod_socache_shmcb.c index 487f41a257..301b95965a 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 -- 2.40.0