]> granicus.if.org Git - apache/commitdiff
avoid warning in non-AP_DEBUG build
authorJeff Trawick <trawick@apache.org>
Fri, 2 Feb 2001 18:15:42 +0000 (18:15 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 2 Feb 2001 18:15:42 +0000 (18:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87957 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_core.c

index 224e9227b1b514ebd4ac39b59b673ac455356672..e5a359cc56439fe1f00df1f4b7c81035a794f775 100644 (file)
@@ -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) &&