]> granicus.if.org Git - apache/commitdiff
Ensure variable is initialised before use.
authorGraham Leggett <minfrin@apache.org>
Thu, 9 Jun 2011 23:45:37 +0000 (23:45 +0000)
committerGraham Leggett <minfrin@apache.org>
Thu, 9 Jun 2011 23:45:37 +0000 (23:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1134132 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_data.c

index 0688f8622a55f19765356e768dce4054208416a2..873618e38a5c6e9666276c7a3689030b1ccf2912 100644 (file)
@@ -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;