Skip to content

Commit 9323bd7

Browse files
authored
fixup! Check NoDiscard together with Deprecated
1 parent 42c3318 commit 9323bd7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Zend/zend_vm_def.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4112,9 +4112,6 @@ ZEND_VM_HOT_HANDLER(129, ZEND_DO_ICALL, ANY, ANY, SPEC(RETVAL,OBSERVER))
41124112
}
41134113

41144114
if (!RETURN_VALUE_USED(opline)) {
4115-
if (UNEXPECTED((fbc->common.fn_flags & ZEND_ACC_NODISCARD) != 0)) {
4116-
zend_nodiscard_function("(C)", fbc);
4117-
}
41184115
i_zval_ptr_dtor(ret);
41194116
}
41204117

0 commit comments

Comments
 (0)