cvs: ZendEngine2(PHP_5_2) / zend_vm_def.h zend_vm_execute.h

From: Date: Wed, 12 Jul 2006 21:17:32 +0000
Subject: cvs: ZendEngine2(PHP_5_2) / zend_vm_def.h zend_vm_execute.h
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5070@lists.php.net to get a copy of this message
tony2001 Wed Jul 12 21:17:32 2006 UTC Modified files: (Branch: PHP_5_2) /ZendEngine2 zend_vm_def.h zend_vm_execute.h Log: MFH: init variables and get rid of annoying warnings http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_vm_def.h?r1=1.59.2.29.2.12&r2=1.59.2.29.2.13&diff_format=u Index: ZendEngine2/zend_vm_def.h diff -u ZendEngine2/zend_vm_def.h:1.59.2.29.2.12 ZendEngine2/zend_vm_def.h:1.59.2.29.2.13 --- ZendEngine2/zend_vm_def.h:1.59.2.29.2.12 Tue Jul 11 08:52:28 2006 +++ ZendEngine2/zend_vm_def.h Wed Jul 12 21:17:30 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_vm_def.h,v 1.59.2.29.2.12 2006/07/11 08:52:28 dmitry Exp $ */ +/* $Id: zend_vm_def.h,v 1.59.2.29.2.13 2006/07/12 21:17:30 tony2001 Exp $ */ /* If you change this file, please regenerate the zend_vm_execute.h and * zend_vm_opcodes.h files by running: @@ -1793,8 +1793,8 @@ { zend_op *opline = EX(opline); zval **original_return_value; - zend_class_entry *current_scope; - zval *current_this; + zend_class_entry *current_scope = NULL; + zval *current_this = NULL; int return_value_used = RETURN_VALUE_USED(opline); zend_bool should_change_scope; zend_op *ctor_opline; @@ -3158,7 +3158,7 @@ ulong int_key; HashTable *fe_ht; zend_object_iterator *iter = NULL; - int key_type; + int key_type = 0; zend_bool use_key = (zend_bool)(opline->extended_value & ZEND_FE_FETCH_WITH_KEY); PZVAL_LOCK(array); http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_vm_execute.h?r1=1.62.2.30.2.12&r2=1.62.2.30.2.13&diff_format=u Index: ZendEngine2/zend_vm_execute.h diff -u ZendEngine2/zend_vm_execute.h:1.62.2.30.2.12 ZendEngine2/zend_vm_execute.h:1.62.2.30.2.13 --- ZendEngine2/zend_vm_execute.h:1.62.2.30.2.12 Tue Jul 11 08:52:28 2006 +++ ZendEngine2/zend_vm_execute.h Wed Jul 12 21:17:30 2006 @@ -126,8 +126,8 @@ { zend_op *opline = EX(opline); zval **original_return_value; - zend_class_entry *current_scope; - zval *current_this; + zend_class_entry *current_scope = NULL; + zval *current_this = NULL; int return_value_used = RETURN_VALUE_USED(opline); zend_bool should_change_scope; zend_op *ctor_opline; @@ -7832,7 +7832,7 @@ ulong int_key; HashTable *fe_ht; zend_object_iterator *iter = NULL; - int key_type; + int key_type = 0; zend_bool use_key = (zend_bool)(opline->extended_value & ZEND_FE_FETCH_WITH_KEY); PZVAL_LOCK(array);

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