1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 11:13:36 +02:00

MFH: init variables and get rid of annoying warnings

This commit is contained in:
Antony Dovgal
2006-07-12 21:17:30 +00:00
parent 9d57621235
commit a9469060e5
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -1793,8 +1793,8 @@ ZEND_VM_HELPER(zend_do_fcall_common_helper, ANY, ANY)
{
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 @@ ZEND_VM_HANDLER(78, ZEND_FE_FETCH, VAR, ANY)
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);
+3 -3
View File
@@ -126,8 +126,8 @@ static int zend_do_fcall_common_helper_SPEC(ZEND_OPCODE_HANDLER_ARGS)
{
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 @@ static int ZEND_FE_FETCH_SPEC_VAR_HANDLER(ZEND_OPCODE_HANDLER_ARGS)
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);