cvs: php-src /ext/standard string.c
| From: | Antony Dovgal | Date: | Thu, 10 Aug 2006 09:31:25 +0000 |
| Subject: | cvs: php-src /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-39886@lists.php.net to get a copy of this message | ||
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);