mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Remove pointless conversion from UNDEF to NULL
This commit is contained in:
parent
caafa041d9
commit
e21de85b9f
1 changed files with 1 additions and 5 deletions
|
@ -268,7 +268,7 @@ long_dim:
|
|||
}
|
||||
}
|
||||
|
||||
ZVAL_UNDEF(rv);
|
||||
ZVAL_NULL(rv);
|
||||
|
||||
if (node) {
|
||||
if (attribs) {
|
||||
|
@ -338,10 +338,6 @@ long_dim:
|
|||
zval_ptr_dtor_str(&tmp_zv);
|
||||
}
|
||||
|
||||
if (Z_ISUNDEF_P(rv)) {
|
||||
ZVAL_NULL(rv);
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
/* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue