From: Antony Dovgal Date: Tue, 8 Aug 2006 22:01:48 +0000 (+0000) Subject: initialize vars X-Git-Tag: RELEASE_1_0_0RC1~2020 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2168051985c40d35335e23769cf95a380f315a43;p=php initialize vars --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 2a7794fd89..8f3448c1a9 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -698,7 +698,7 @@ static int php_expand_u_trim_range(UChar **range, int *range_len TSRMLS_DC) static UChar *php_u_trim(UChar *c, int len, UChar *what, int what_len, zval *return_value, int mode TSRMLS_DC) { int32_t i,j; - UChar ch,wh; + UChar ch = 0, wh = 0; int32_t start = 0, end = len; /*