mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove dead assignment in get_property_guard
This commit is contained in:
parent
8039063d95
commit
c25e81ab7b
1 changed files with 0 additions and 2 deletions
|
@ -494,7 +494,6 @@ static zend_long *zend_get_property_guard(zend_object *zobj, zend_string *member
|
|||
{
|
||||
HashTable *guards;
|
||||
zend_long stub, *guard;
|
||||
zval tmp;
|
||||
|
||||
ZEND_ASSERT(GC_FLAGS(zobj) & IS_OBJ_USE_GUARDS);
|
||||
if (GC_FLAGS(zobj) & IS_OBJ_HAS_GUARDS) {
|
||||
|
@ -506,7 +505,6 @@ static zend_long *zend_get_property_guard(zend_object *zobj, zend_string *member
|
|||
} else {
|
||||
ALLOC_HASHTABLE(guards);
|
||||
zend_hash_init(guards, 8, NULL, zend_property_guard_dtor, 0);
|
||||
ZVAL_PTR(&tmp, guards);
|
||||
Z_PTR(zobj->properties_table[zobj->ce->default_properties_count]) = guards;
|
||||
GC_FLAGS(zobj) |= IS_OBJ_HAS_GUARDS;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue