]> granicus.if.org Git - apache/commitdiff
Fix "unused variable" warning.
authorRainer Jung <rjung@apache.org>
Wed, 19 Jun 2013 10:16:03 +0000 (10:16 +0000)
committerRainer Jung <rjung@apache.org>
Wed, 19 Jun 2013 10:16:03 +0000 (10:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1494531 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/eventopt/eventopt.c

index 1faf0b28cdf8726b4c69a9d2d22d5e6e00f3ca01..0e6ad4771ea0a67b1e8ad2a546e1e3038aa138b0 100644 (file)
@@ -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