From 48b266ccd5d0779014c96f647c7eb0bfa70a6988 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Thu, 9 Jun 2011 23:45:37 +0000 Subject: [PATCH] Ensure variable is initialised before use. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1134132 13f79535-47bb-0310-9956-ffa450edef68 --- modules/filters/mod_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/filters/mod_data.c b/modules/filters/mod_data.c index 0688f8622a..873618e38a 100644 --- a/modules/filters/mod_data.c +++ b/modules/filters/mod_data.c @@ -72,7 +72,7 @@ static apr_status_t data_out_filter(ap_filter_t *f, apr_bucket_brigade *bb) /* first time in? create a context */ if (!ctx) { char *type; - char *charset; + char *charset = NULL; char *end; const char *content_length; -- 2.40.0