From 3169261900fbdf6c790324c7fb62d40065e6001f Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 23 Jun 2005 09:10:09 +0000 Subject: [PATCH] * 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 --- modules/proxy/mod_proxy_balancer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1