Skip to content

Commit aed2bf7

Browse files
committed
Remove unused function
1 parent 0bac785 commit aed2bf7

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Zend/zend_execute.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,15 +1302,6 @@ static int zend_verify_internal_return_type(zend_function *zf, zval *ret)
13021302
}
13031303
#endif
13041304

1305-
static zend_always_inline void zend_verify_return_type(zend_function *zf, zval *ret, void **cache_slot)
1306-
{
1307-
zend_arg_info *ret_info = zf->common.arg_info - 1;
1308-
1309-
if (UNEXPECTED(!zend_check_type(ret_info->type, ret, cache_slot, NULL, 1, 0))) {
1310-
zend_verify_return_error(zf, cache_slot, ret);
1311-
}
1312-
}
1313-
13141305
static ZEND_COLD int zend_verify_missing_return_type(const zend_function *zf, void **cache_slot)
13151306
{
13161307
/* VERIFY_RETURN_TYPE is not emitted for "void" functions, so this is always an error. */

0 commit comments

Comments
 (0)