Skip to content

Commit

Permalink
Remove superfluous branch
Browse files Browse the repository at this point in the history
  • Loading branch information
tpunt authored and krakjoe committed Jun 23, 2017
1 parent 660250f commit b1301a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Zend/zend_hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ static uint32_t zend_array_recalc_elements(HashTable *ht)
uint32_t num = ht->nNumOfElements;

ZEND_HASH_FOREACH_VAL(ht, val) {
if (Z_TYPE_P(val) == IS_UNDEF) continue;
if (Z_TYPE_P(val) == IS_INDIRECT) {
if (UNEXPECTED(Z_TYPE_P(Z_INDIRECT_P(val)) == IS_UNDEF)) {
num--;
Expand Down

0 comments on commit b1301a0

Please sign in to comment.