From: Antony Dovgal Date: Wed, 12 Jul 2006 12:38:49 +0000 (+0000) Subject: it's usually good idea to initialize variables X-Git-Tag: php-5.2.0RC1~116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69d6fe45c86726612ac8e5d532695366bd0303a5;p=php it's usually good idea to initialize variables especially if you rely on their values --- diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index c2b07d6a28..36306bb9d5 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -1172,7 +1172,7 @@ PHP_FUNCTION(stream_filter_remove) PHP_FUNCTION(stream_get_line) { char *str = NULL; - int str_len; + int str_len = 0; long max_length; zval *zstream; char *buf;