Author: jfrederic.clere(a)jboss.com
Date: 2009-05-25 12:40:25 -0400 (Mon, 25 May 2009)
New Revision: 2449
Modified:
trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
Log:
Fix warnings.
Modified: trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
===================================================================
--- trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2009-05-25 16:26:01 UTC
(rev 2448)
+++ trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2009-05-25 16:40:25 UTC
(rev 2449)
@@ -376,8 +376,6 @@
{
proxy_worker *worker = NULL;
if (!balancer) {
- int sizebal, i;
- int *bal;
if (creat_bal == CREAT_NONE)
return; /* Don't create balancers */
if (creat_bal == CREAT_ROOT && server != main_server)
@@ -455,7 +453,6 @@
void *sconf = s->module_config;
proxy_server_conf *conf = (proxy_server_conf *)ap_get_module_config(sconf,
&proxy_module);
proxy_balancer *balancer = ap_proxy_get_balancer(pool, conf, name);
- int i;
if (!balancer && creat_bal == CREAT_NONE) {
s = s->next;
Show replies by date