Skip to content

Commit dd01c74

Browse files
committed
Remove redundant condition
Never refactor code just before pushing
1 parent f78d1d0 commit dd01c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_compile.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,7 @@ static bool array_is_const_ex(zend_array *array, uint32_t *max_checks)
14731473
if (!array_is_const_ex(array, max_checks)) {
14741474
return false;
14751475
}
1476-
} else if (UNEXPECTED(Z_TYPE_P(element) >=IS_OBJECT)) {
1476+
} else {
14771477
return false;
14781478
}
14791479
} ZEND_HASH_FOREACH_END();

0 commit comments

Comments
 (0)