tony2001 Tue Aug 8 22:01:48 2006 UTC
Modified files:
/php-src/ext/standard string.c
Log:
initialize vars
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.567&r2=1.568&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.567 php-src/ext/standard/string.c:1.568
--- php-src/ext/standard/string.c:1.567 Tue Aug 8 21:03:11 2006
+++ php-src/ext/standard/string.c Tue Aug 8 22:01:48 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.567 2006/08/08 21:03:11 andrei Exp $ */
+/* $Id: string.c,v 1.568 2006/08/08 22:01:48 tony2001 Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -698,7 +698,7 @@
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;
/*
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php