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

View file

@ -1793,8 +1793,8 @@ ZEND_VM_HELPER(zend_do_fcall_common_helper, ANY, ANY)
{ {
zend_op *opline = EX(opline); zend_op *opline = EX(opline);
zval **original_return_value; zval **original_return_value;
zend_class_entry *current_scope; zend_class_entry *current_scope = NULL;
zval *current_this; zval *current_this = NULL;
int return_value_used = RETURN_VALUE_USED(opline); int return_value_used = RETURN_VALUE_USED(opline);
zend_bool should_change_scope; zend_bool should_change_scope;
zend_op *ctor_opline; zend_op *ctor_opline;
@ -3158,7 +3158,7 @@ ZEND_VM_HANDLER(78, ZEND_FE_FETCH, VAR, ANY)
ulong int_key; ulong int_key;
HashTable *fe_ht; HashTable *fe_ht;
zend_object_iterator *iter = NULL; 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); zend_bool use_key = (zend_bool)(opline->extended_value & ZEND_FE_FETCH_WITH_KEY);
PZVAL_LOCK(array); PZVAL_LOCK(array);

View file

@ -126,8 +126,8 @@ static int zend_do_fcall_common_helper_SPEC(ZEND_OPCODE_HANDLER_ARGS)
{ {
zend_op *opline = EX(opline); zend_op *opline = EX(opline);
zval **original_return_value; zval **original_return_value;
zend_class_entry *current_scope; zend_class_entry *current_scope = NULL;
zval *current_this; zval *current_this = NULL;
int return_value_used = RETURN_VALUE_USED(opline); int return_value_used = RETURN_VALUE_USED(opline);
zend_bool should_change_scope; zend_bool should_change_scope;
zend_op *ctor_opline; zend_op *ctor_opline;
@ -7832,7 +7832,7 @@ static int ZEND_FE_FETCH_SPEC_VAR_HANDLER(ZEND_OPCODE_HANDLER_ARGS)
ulong int_key; ulong int_key;
HashTable *fe_ht; HashTable *fe_ht;
zend_object_iterator *iter = NULL; 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); zend_bool use_key = (zend_bool)(opline->extended_value & ZEND_FE_FETCH_WITH_KEY);
PZVAL_LOCK(array); PZVAL_LOCK(array);