Skip to content

Commit 0993821

Browse files
Jeckersonnikic
authored andcommitted
Remove unused check_flags argument from zend_is_callable_check_func()
1 parent ed26ccc commit 0993821

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend_API.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3434,7 +3434,7 @@ ZEND_API void zend_release_fcall_info_cache(zend_fcall_info_cache *fcc) {
34343434
}
34353435
}
34363436

3437-
static zend_always_inline bool zend_is_callable_check_func(int check_flags, zval *callable, zend_execute_data *frame, zend_fcall_info_cache *fcc, bool strict_class, char **error) /* {{{ */
3437+
static zend_always_inline bool zend_is_callable_check_func(zval *callable, zend_execute_data *frame, zend_fcall_info_cache *fcc, bool strict_class, char **error) /* {{{ */
34383438
{
34393439
zend_class_entry *ce_org = fcc->calling_scope;
34403440
bool retval = 0;
@@ -3772,7 +3772,7 @@ ZEND_API bool zend_is_callable_at_frame(
37723772
}
37733773

37743774
check_func:
3775-
ret = zend_is_callable_check_func(check_flags, callable, frame, fcc, strict_class, error);
3775+
ret = zend_is_callable_check_func(callable, frame, fcc, strict_class, error);
37763776
if (fcc == &fcc_local) {
37773777
zend_release_fcall_info_cache(fcc);
37783778
}

0 commit comments

Comments
 (0)