]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Silence compiler warning
authorRuediger Pluem <rpluem@apache.org>
Thu, 18 Feb 2010 18:59:26 +0000 (18:59 +0000)
committerRuediger Pluem <rpluem@apache.org>
Thu, 18 Feb 2010 18:59:26 +0000 (18:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@911528 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_socache_shmcb.c

index 487f41a2575492acf97ff6be147fc034065c9c0e..301b95965a595911a57e5cb928e1fa0edd7bafe3 100644 (file)
@@ -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