From: Jeff Trawick Date: Fri, 2 Feb 2001 18:15:42 +0000 (+0000) Subject: avoid warning in non-AP_DEBUG build X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0c34648f4e4d98f952d77ad74f3c6410afbfa240;p=apache 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 --- 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) &&