cvs: TSRM / tsrm_virtual_cwd.c ZendEngine2 zend_API.c zend_hash.c

From: Date: Mon, 06 Feb 2006 20:36:51 +0000
Subject: cvs: TSRM / tsrm_virtual_cwd.c ZendEngine2 zend_API.c zend_hash.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4571@lists.php.net to get a copy of this message
tony2001 Mon Feb 6 20:36:51 2006 UTC Modified files: /ZendEngine2 zend_API.c zend_hash.c /TSRM tsrm_virtual_cwd.c Log: init variables (continue making GCC happy) http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_API.c?r1=1.337&r2=1.338&diff_format=u Index: ZendEngine2/zend_API.c diff -u ZendEngine2/zend_API.c:1.337 ZendEngine2/zend_API.c:1.338 --- ZendEngine2/zend_API.c:1.337 Tue Jan 24 23:58:54 2006 +++ ZendEngine2/zend_API.c Mon Feb 6 20:36:51 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_API.c,v 1.337 2006/01/24 23:58:54 tony2001 Exp $ */ +/* $Id: zend_API.c,v 1.338 2006/02/06 20:36:51 tony2001 Exp $ */ #include "zend.h" #include "zend_execute.h" @@ -2017,8 +2017,8 @@ zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = NULL, *__isset = NULL, *__call = NULL, *__tostring = NULL; char *lowercase_name; int fname_len; - char *lc_class_name; - int class_name_len; + char *lc_class_name = NULL; + int class_name_len = 0; if (type==MODULE_PERSISTENT) { error_type = E_CORE_WARNING; http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_hash.c?r1=1.128&r2=1.129&diff_format=u Index: ZendEngine2/zend_hash.c diff -u ZendEngine2/zend_hash.c:1.128 ZendEngine2/zend_hash.c:1.129 --- ZendEngine2/zend_hash.c:1.128 Wed Feb 1 01:05:17 2006 +++ ZendEngine2/zend_hash.c Mon Feb 6 20:36:51 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_hash.c,v 1.128 2006/02/01 01:05:17 zeev Exp $ */ +/* $Id: zend_hash.c,v 1.129 2006/02/06 20:36:51 tony2001 Exp $ */ #include "zend.h" #include "zend_operators.h" @@ -1454,7 +1454,7 @@ ZEND_API int zend_hash_compare(HashTable *ht1, HashTable *ht2, compare_func_t compar, zend_bool ordered TSRMLS_DC) { - Bucket *p1, *p2; + Bucket *p1, *p2 = NULL; int result; void *pData2; http://cvs.php.net/viewcvs.cgi/TSRM/tsrm_virtual_cwd.c?r1=1.80&r2=1.81&diff_format=u Index: TSRM/tsrm_virtual_cwd.c diff -u TSRM/tsrm_virtual_cwd.c:1.80 TSRM/tsrm_virtual_cwd.c:1.81 --- TSRM/tsrm_virtual_cwd.c:1.80 Mon Jan 16 09:17:50 2006 +++ TSRM/tsrm_virtual_cwd.c Mon Feb 6 20:36:51 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: tsrm_virtual_cwd.c,v 1.80 2006/01/16 09:17:50 dmitry Exp $ */ +/* $Id: tsrm_virtual_cwd.c,v 1.81 2006/02/06 20:36:51 tony2001 Exp $ */ #include <sys/types.h> #include <sys/stat.h> @@ -380,9 +380,9 @@ char *new_path; #endif char orig_path[MAXPATHLEN]; - int orig_path_len; + int orig_path_len = 0; realpath_cache_bucket *bucket; - time_t t; + time_t t = 0; TSRMLS_FETCH(); if (path_length == 0)

« previous php.zend-engine.cvs (#4571) next »