httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1134132 - /httpd/httpd/trunk/modules/filters/mod_data.c
Date Thu, 09 Jun 2011 23:45:37 GMT
Author: minfrin
Date: Thu Jun  9 23:45:37 2011
New Revision: 1134132

URL: http://svn.apache.org/viewvc?rev=1134132&view=rev
Log:
Ensure variable is initialised before use.

Modified:
    httpd/httpd/trunk/modules/filters/mod_data.c

Modified: httpd/httpd/trunk/modules/filters/mod_data.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_data.c?rev=1134132&r1=1134131&r2=1134132&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_data.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_data.c Thu Jun  9 23:45:37 2011
@@ -72,7 +72,7 @@ static apr_status_t data_out_filter(ap_f
     /* first time in? create a context */
     if (!ctx) {
         char *type;
-        char *charset;
+        char *charset = NULL;
         char *end;
         const char *content_length;
 



Mime
View raw message