Skip to content

Commit 23fe3dc

Browse files
committed
Remove unused variable
1 parent abe53ed commit 23fe3dc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Zend/zend_compile.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5632,11 +5632,8 @@ void zend_compile_params(zend_ast *ast, zend_ast *return_type_ast) /* {{{ */
56325632
if (type_ast) {
56335633
uint32_t default_type = default_ast ? Z_TYPE(default_node.u.constant) : IS_UNDEF;
56345634

5635-
zend_bool has_class;
5636-
56375635
op_array->fn_flags |= ZEND_ACC_HAS_TYPE_HINTS;
56385636
arg_info->type = zend_compile_typename(type_ast, default_type == IS_NULL);
5639-
has_class = ZEND_TYPE_HAS_CLASS(arg_info->type);
56405637

56415638
if (ZEND_TYPE_FULL_MASK(arg_info->type) & MAY_BE_VOID) {
56425639
zend_error_noreturn(E_COMPILE_ERROR, "void cannot be used as a parameter type");

0 commit comments

Comments
 (0)