mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix "fptr may be used uninitialized" warning
Older versions of GCC seem to get confused about the call to zend_ast_call_get_args(ast), and assume it may mutate ast, even though it is local.
This commit is contained in:
@@ -1238,6 +1238,7 @@ static zend_result ZEND_FASTCALL zend_ast_evaluate_inner(
|
||||
|
||||
break;
|
||||
}
|
||||
EMPTY_SWITCH_DEFAULT_CASE()
|
||||
}
|
||||
|
||||
zend_create_fake_closure(result, fptr, fptr->common.scope, called_scope, NULL);
|
||||
|
||||
Reference in New Issue
Block a user