tony2001 Thu Aug 10 09:31:25 2006 UTC
Modified files:
/php-src/ext/standard string.c
Log:
initialize variable
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.573&r2=1.574&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.573 php-src/ext/standard/string.c:1.574
--- php-src/ext/standard/string.c:1.573 Wed Aug 9 20:31:06 2006
+++ php-src/ext/standard/string.c Thu Aug 10 09:31:24 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.573 2006/08/09 20:31:06 tony2001 Exp $ */
+/* $Id: string.c,v 1.574 2006/08/10 09:31:24 tony2001 Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -2101,7 +2101,7 @@
if (have_ext) {
zstr ext;
- int ext_len;
+ int ext_len = 0;
if (path_type == IS_UNICODE) {
ext.u = u_memrchr32(ret.u, (UChar) 0x2e /*'.'*/,
ret_len);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php