From: Rainer Jung Date: Wed, 19 Jun 2013 10:16:03 +0000 (+0000) Subject: Fix "unused variable" warning. X-Git-Tag: 2.5.0-alpha~5321 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67e9e5449390fc68768ba66fec1781a1f5eeae0d;p=apache Fix "unused variable" warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1494531 13f79535-47bb-0310-9956-ffa450edef68 --- 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