From 2407c615d09f96dda5dd955f6e2c1c0e0cbd6e5c Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 2 Feb 2001 18:15:42 +0000 Subject: [PATCH] avoid warning in non-AP_DEBUG build git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87957 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/http/http_core.c b/modules/http/http_core.c index 224e9227b1..e5a359cc56 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -2570,7 +2570,9 @@ static apr_status_t sendfile_it_all(conn_rec *c, apr_int32_t flags) { apr_status_t rv; +#ifdef AP_DEBUG apr_int32_t timeout = 0; +#endif AP_DEBUG_ASSERT((apr_getsocketopt(c->client_socket, APR_SO_TIMEOUT, &timeout) == APR_SUCCESS) && -- 2.50.1