From 67e9e5449390fc68768ba66fec1781a1f5eeae0d Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Wed, 19 Jun 2013 10:16:03 +0000 Subject: [PATCH] Fix "unused variable" warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1494531 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/eventopt/eventopt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/mpm/eventopt/eventopt.c b/server/mpm/eventopt/eventopt.c index 1faf0b28cd..0e6ad4771e 100644 --- a/server/mpm/eventopt/eventopt.c +++ b/server/mpm/eventopt/eventopt.c @@ -833,7 +833,6 @@ static int process_pollop(pollset_op_t *op) */ static int start_lingering_close(event_conn_state_t *cs, ap_equeue_t *eq) { - apr_status_t rv; int ret = 1; apr_socket_t *csd = ap_get_conn_socket(cs->c); @@ -849,7 +848,7 @@ static int start_lingering_close(event_conn_state_t *cs, ap_equeue_t *eq) #ifdef AP_DEBUG { - rv = apr_socket_timeout_set(csd, 0); + apr_status_t rv = apr_socket_timeout_set(csd, 0); AP_DEBUG_ASSERT(rv == APR_SUCCESS); } #else -- 2.40.0