httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1494536 - /httpd/httpd/trunk/modules/cache/mod_cache_socache.c
Date Wed, 19 Jun 2013 10:21:46 GMT
Author: rjung
Date: Wed Jun 19 10:21:46 2013
New Revision: 1494536

URL: http://svn.apache.org/r1494536
Log:
Fix "variable 'rv' may be used uninitialized
in this function" warning.

Modified:
    httpd/httpd/trunk/modules/cache/mod_cache_socache.c

Modified: httpd/httpd/trunk/modules/cache/mod_cache_socache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_cache_socache.c?rev=1494536&r1=1494535&r2=1494536&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_cache_socache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_cache_socache.c Wed Jun 19 10:21:46 2013
@@ -1421,7 +1421,7 @@ static int socache_post_config(apr_pool_
                 &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! */
         }



Mime
View raw message