]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove a bunch of warnings from the server when compiled using
authorRyan Bloom <rbb@apache.org>
Mon, 14 Aug 2000 03:07:58 +0000 (03:07 +0000)
committerRyan Bloom <rbb@apache.org>
Mon, 14 Aug 2000 03:07:58 +0000 (03:07 +0000)
--with-maintainer-mode

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86070 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_core.c
server/config.c

index cadfaf0cc64055c4325d338c8353475a887e425a..117cac412ac006dd340dbe428c6457adb2be01bb 100644 (file)
@@ -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;
 
index f94191a153efc5932d7f42bf0922ad2e4b4d6bc3..43069215a6b8bcfbdc0b9710ead495da97d44e17 100644 (file)
@@ -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) */