httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r193117 - /httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
Date Thu, 23 Jun 2005 09:10:11 GMT
Author: jorton
Date: Thu Jun 23 02:10:09 2005
New Revision: 193117

URL: http://svn.apache.org/viewcvs?rev=193117&view=rev
Log:
* modules/proxy/mod_proxy_balancer.c (proxy_balancer_pre_request): Fix
another valid variable-may-be-used-uninitialized warning from GCC 4
(in the !balancer->sticky case, find_session_route returns NULL
without setting route).

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c?rev=193117&r1=193116&r2=193117&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c Thu Jun 23 02:10:09 2005
@@ -441,7 +441,7 @@
 {
     int access_status;
     proxy_worker *runtime;
-    char *route;
+    char *route = NULL;
     apr_status_t rv;
 
     *worker = NULL;



Mime
View raw message