You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2013/06/19 12:16:04 UTC
svn commit: r1494531 - /httpd/httpd/trunk/server/mpm/eventopt/eventopt.c
Author: rjung
Date: Wed Jun 19 10:16:03 2013
New Revision: 1494531
URL: http://svn.apache.org/r1494531
Log:
Fix "unused variable" warning.
Modified:
httpd/httpd/trunk/server/mpm/eventopt/eventopt.c
Modified: httpd/httpd/trunk/server/mpm/eventopt/eventopt.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/eventopt/eventopt.c?rev=1494531&r1=1494530&r2=1494531&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/eventopt/eventopt.c (original)
+++ httpd/httpd/trunk/server/mpm/eventopt/eventopt.c Wed Jun 19 10:16:03 2013
@@ -833,7 +833,6 @@ static int process_pollop(pollset_op_t *
*/
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_c
#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