Skip to content

Commit b945548

Browse files
committed
Removed redundand assertion
1 parent d5a4108 commit b945548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_inheritance.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ static void do_inherit_parent_constructor(zend_class_entry *ce) /* {{{ */
9494
}
9595
if (ZEND_MAP_PTR(parent->iterator_funcs_ptr)) {
9696
/* Must be initialized through iface->interface_gets_implemented() */
97-
ZEND_ASSERT(ZEND_MAP_PTR(ce->iterator_funcs_ptr) && ZEND_MAP_PTR_GET(ce->iterator_funcs_ptr));
97+
ZEND_ASSERT(ZEND_MAP_PTR_GET(ce->iterator_funcs_ptr));
9898
}
9999
if (EXPECTED(!ce->__get)) {
100100
ce->__get = parent->__get;

0 commit comments

Comments
 (0)