com php-src: Remove unused function: Zend/zend_execute.c
| From: | Nikita Popov | Date: | Fri, 06 Dec 2019 13:18:52 +0000 |
| Subject: | com php-src: Remove unused function: Zend/zend_execute.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-109413@lists.php.net to get a copy of this message | ||
Commit: aed2bf7ab3b29435700e14dd820015ea2b52d6f3
Author: Nikita Popov <nikita.ppv@gmail.com> Fri, 6 Dec 2019 14:18:52 +0100
Parents: 0bac7854779595603e0431521c60744665641734
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=aed2bf7ab3b29435700e14dd820015ea2b52d6f3
Log:
Remove unused function
Changed paths:
M Zend/zend_execute.c
Diff:
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index 0cd4e105e92..870b7a2777d 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -1302,15 +1302,6 @@ static int zend_verify_internal_return_type(zend_function *zf, zval *ret)
}
#endif
-static zend_always_inline void zend_verify_return_type(zend_function *zf, zval *ret, void
**cache_slot)
-{
- zend_arg_info *ret_info = zf->common.arg_info - 1;
-
- if (UNEXPECTED(!zend_check_type(ret_info->type, ret, cache_slot, NULL, 1, 0))) {
- zend_verify_return_error(zf, cache_slot, ret);
- }
-}
-
static ZEND_COLD int zend_verify_missing_return_type(const zend_function *zf, void **cache_slot)
{
/* VERIFY_RETURN_TYPE is not emitted for "void" functions, so this is always an error.
*/