From 4320ae82b241a9e9ae01d29f9d0286185dda2542 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Tue, 19 Jul 2005 14:34:28 +0000 Subject: [PATCH] * modules/http/http_filters.c (ap_send_http_trace): Silence gcc variable-may-be-used-uninitialized warnings. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219696 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_filters.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c index 7d354ae5c9..f94d93101d 100644 --- a/modules/http/http_filters.c +++ b/modules/http/http_filters.c @@ -765,10 +765,10 @@ AP_DECLARE_NONSTD(int) ap_send_http_trace(request_rec *r) header_struct h; apr_bucket *b; int body; - char *bodyread, *bodyoff; + char *bodyread = NULL, *bodyoff; apr_size_t bodylen = 0; apr_size_t bodybuf; - long res; + long res = -1; /* init to avoid gcc -Wall warning */ if (r->method_number != M_TRACE) { return DECLINED; -- 2.50.1