From: Joe Orton Date: Thu, 23 Jun 2005 09:10:09 +0000 (+0000) Subject: * modules/proxy/mod_proxy_balancer.c (proxy_balancer_pre_request): Fix X-Git-Tag: 2.1.6~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3169261900fbdf6c790324c7fb62d40065e6001f;p=apache * 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). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@193117 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_balancer.c b/modules/proxy/mod_proxy_balancer.c index ab122892f7..28e03bbc8d 100644 --- a/modules/proxy/mod_proxy_balancer.c +++ b/modules/proxy/mod_proxy_balancer.c @@ -441,7 +441,7 @@ static int proxy_balancer_pre_request(proxy_worker **worker, { int access_status; proxy_worker *runtime; - char *route; + char *route = NULL; apr_status_t rv; *worker = NULL;