]> granicus.if.org Git - php/commitdiff
initialize vars
authorAntony Dovgal <tony2001@php.net>
Tue, 8 Aug 2006 22:01:48 +0000 (22:01 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 8 Aug 2006 22:01:48 +0000 (22:01 +0000)
ext/standard/string.c

index 2a7794fd89371709f20f946829c03ee20189ec7c..8f3448c1a94cb2d4ae6c50e1b31fd906f0cef641 100644 (file)
@@ -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;
 
        /*