fix a few compiler warnings (mostly use of unitialized values)

This commit is contained in:
Nuno Lopes 2007-09-29 11:18:42 +00:00
parent ae14f6ba78
commit e029a0ee59
5 changed files with 7 additions and 6 deletions

View file

@ -130,11 +130,12 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_arra
if (track_vars_array) {
ht = Z_ARRVAL_P(track_vars_array);
zend_hash_del(ht, var, var_len + 1);
} else if (PG(register_globals)) {
ht = EG(active_symbol_table);
zend_hash_del(ht, var, var_len + 1);
}
zend_hash_del(ht, var, var_len + 1);
zval_dtor(val);
/* do not output the error message to the screen,