]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix "variable 'rv' may be used uninitialized
authorRainer Jung <rjung@apache.org>
Wed, 19 Jun 2013 10:21:46 +0000 (10:21 +0000)
committerRainer Jung <rjung@apache.org>
Wed, 19 Jun 2013 10:21:46 +0000 (10:21 +0000)
in this function" warning.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1494536 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_cache_socache.c

index 8f58c12c28f8cae0a0f91e8811f9b583783f4533..220f9c8bd0831ed084e56a3bea720e79d36a9385 100644 (file)
@@ -1421,7 +1421,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! */
         }