From 6d396cd5467e3f60276feb2b0f3181dee6e8851f Mon Sep 17 00:00:00 2001 From: Brian Havard Date: Fri, 26 Jan 2001 02:53:50 +0000 Subject: [PATCH] Fix uninitialized variable 'written' in ap_rvputs, noticed by gcc. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87849 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 86a2e72f37..434a28cdbf 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -3144,7 +3144,7 @@ AP_DECLARE_NONSTD(int) ap_rvputs(request_rec *r, ...) va_list va; const char *s; apr_size_t len; - apr_size_t written; + apr_size_t written = 0; if (r->connection->aborted) return -1; -- 2.40.0