com php-src: remove unused param: Zend/zend_inheritance.c

From: Date: Tue, 29 Mar 2016 10:34:18 +0000
Subject: com php-src: remove unused param: Zend/zend_inheritance.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91532@lists.php.net to get a copy of this message
Commit: d12ed0c7fa1ac0a8ba1942010a12cfeb1657d469 Author: Joe Watkins <krakjoe@php.net> Tue, 29 Mar 2016 11:34:18 +0100 Parents: 2e6d70787c93413daecbea529bf0f74fa901d1db Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d12ed0c7fa1ac0a8ba1942010a12cfeb1657d469 Log: remove unused param Changed paths: M Zend/zend_inheritance.c Diff: diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c index 1ea38a1..55a9fdc 100644 --- a/Zend/zend_inheritance.c +++ b/Zend/zend_inheritance.c @@ -167,7 +167,7 @@ char *zend_visibility_string(uint32_t fn_flags) /* {{{ */ } /* }}} */ -static int zend_do_perform_type_hint_check(const zend_function *fe, uint32_t arg_num, zend_arg_info *fe_arg_info, const zend_function *proto, zend_arg_info *proto_arg_info) /* {{{ */ +static int zend_do_perform_type_hint_check(const zend_function *fe, zend_arg_info *fe_arg_info, const zend_function *proto, zend_arg_info *proto_arg_info) /* {{{ */ { if (ZEND_LOG_XOR(fe_arg_info->class_name, proto_arg_info->class_name)) { /* Only one has a type declaration and the other one doesn't */ @@ -320,7 +320,7 @@ static zend_bool zend_do_perform_implementation_check(const zend_function *fe, c proto_arg_info = &proto->common.arg_info[proto->common.num_args]; } - if (!zend_do_perform_type_hint_check(fe, i, fe_arg_info, proto, proto_arg_info)) { + if (!zend_do_perform_type_hint_check(fe, fe_arg_info, proto, proto_arg_info)) { return 0; } @@ -338,7 +338,7 @@ static zend_bool zend_do_perform_implementation_check(const zend_function *fe, c return 0; } - if (!zend_do_perform_type_hint_check(fe, i, fe->common.arg_info - 1, proto, proto->common.arg_info - 1)) { + if (!zend_do_perform_type_hint_check(fe, fe->common.arg_info - 1, proto, proto->common.arg_info - 1)) { return 0; } }

« previous php.cvs (#91532) next »