mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
Avoid unnecassary check
This commit is contained in:
parent
e97ae4fee8
commit
0ef5a6b409
@ -1122,9 +1122,7 @@ ZEND_API void zend_array_destroy(HashTable *ht)
|
||||
|
||||
if (ht->u.flags & HASH_FLAG_PACKED) {
|
||||
do {
|
||||
if (EXPECTED(Z_TYPE(p->val) != IS_UNDEF)) {
|
||||
i_zval_ptr_dtor(&p->val ZEND_FILE_LINE_CC);
|
||||
}
|
||||
i_zval_ptr_dtor(&p->val ZEND_FILE_LINE_CC);
|
||||
} while (++p != end);
|
||||
} else {
|
||||
do {
|
||||
|
Loading…
Reference in New Issue
Block a user