From: Ryan Bloom Date: Mon, 14 Aug 2000 03:07:58 +0000 (+0000) Subject: Remove a bunch of warnings from the server when compiled using X-Git-Tag: APACHE_2_0_ALPHA_6~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b0f3a1dfcb6055075417014e1974599bf45533ee;p=thirdparty%2Fapache%2Fhttpd.git Remove a bunch of warnings from the server when compiled using --with-maintainer-mode git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86070 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_core.c b/modules/http/http_core.c index cadfaf0cc64..117cac412ac 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -2928,9 +2928,11 @@ static int default_handler(request_rec *r) */ static int core_filter(ap_filter_t *f, ap_bucket_brigade *b) { +#if 0 request_rec *r = f->r; +#endif + apr_ssize_t bytes_sent = 0; ap_bucket *dptr = b->head; - apr_ssize_t bytes_sent; int len = 0, written; const char *str; diff --git a/server/config.c b/server/config.c index f94191a153e..43069215a6b 100644 --- a/server/config.c +++ b/server/config.c @@ -79,6 +79,7 @@ #include "apr_file_io.h" #include "httpd.h" #include "http_config.h" +#include "http_protocol.h" #include "http_core.h" #include "http_log.h" /* for errors in parse_htaccess */ #include "http_request.h" /* for default_handler (see invoke_handler) */