]> granicus.if.org Git - apache/commitdiff
mod_cache_socache: Fix warning "variable 'rv' may
authorRainer Jung <rjung@apache.org>
Wed, 19 Jun 2013 12:55:56 +0000 (12:55 +0000)
committerRainer Jung <rjung@apache.org>
Wed, 19 Jun 2013 12:55:56 +0000 (12:55 +0000)
be used uninitialized in this function"
(which is correct here).

Backport of r1494536 form trunk.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1494597 13f79535-47bb-0310-9956-ffa450edef68

STATUS
modules/cache/mod_cache_socache.c

diff --git a/STATUS b/STATUS
index f4ee1909159e65f5e8cb692019f98abc02e7f0ae..de89992db43e4414754cccad1d1f59d685509131 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -90,12 +90,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-    * mod_cache_socache: Fix warning "variable 'rv' may be used uninitialized
-      in this function" (which is correct here).
-      trunk patch: http://svn.apache.org/r1494536
-      2.4.x patch: trunk patch works
-      +1: rjung, minfrin, fuankg
-
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
index b969bc68f65f5458a2c0163c55c8313c1c4637a2..7be264adce333223ddc4cea881fa4a11aa7b4a01 100644 (file)
@@ -1420,7 +1420,7 @@ static int socache_post_config(apr_pool_t *pconf, apr_pool_t *plog,
                 &conf->provider->socache_instance, conf->provider->args, ptmp,
                 pconf);
         if (errmsg) {
-            ap_log_perror(APLOG_MARK, APLOG_CRIT, rv, plog,
+            ap_log_perror(APLOG_MARK, APLOG_CRIT, 0, plog,
                     APLOGNO(02392) "%s", errmsg);
             return 500; /* An HTTP status would be a misnomer! */
         }