You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2011/06/10 01:45:37 UTC
svn commit: r1134132 - /httpd/httpd/trunk/modules/filters/mod_data.c
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;