mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fix a few compiler warnings (mostly use of unitialized values)
This commit is contained in:
parent
ae14f6ba78
commit
e029a0ee59
5 changed files with 7 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue