httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r484794 - /httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
Date Fri, 08 Dec 2006 21:38:41 GMT
Author: jim
Date: Fri Dec  8 13:38:40 2006
New Revision: 484794

URL: http://svn.apache.org/viewvc?view=rev&rev=484794
Log:
Fix compile warning:
    mod_proxy_balancer.c:537: warning: unused variable 'rv'


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/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c?view=diff&rev=484794&r1=484793&r2=484794
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c Fri Dec  8 13:38:40 2006
@@ -534,9 +534,10 @@
                                        request_rec *r,
                                        proxy_server_conf *conf)
 {
-    apr_status_t rv;
 
 #if 0
+    apr_status_t rv;
+
     if ((rv = PROXY_THREAD_LOCK(balancer)) != APR_SUCCESS) {
         ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
             "proxy: BALANCER: (%s). Lock failed for post_request",
@@ -555,6 +556,7 @@
                  "proxy_balancer_post_request for (%s)", balancer->name);
 
 #endif
+
     return OK;
 }
 



Mime
View raw message