mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Initialize method_lcname to suppress maybe-uninitialized warning
This commit is contained in:
parent
267c24e9ee
commit
fa032764db
1 changed files with 1 additions and 1 deletions
|
@ -7145,7 +7145,7 @@ static void zend_compile_func_decl(znode *result, zend_ast *ast, bool toplevel)
|
|||
zend_ast *stmt_ast = decl->child[2];
|
||||
zend_ast *return_type_ast = decl->child[3];
|
||||
bool is_method = decl->kind == ZEND_AST_METHOD;
|
||||
zend_string *method_lcname;
|
||||
zend_string *method_lcname = NULL;
|
||||
|
||||
zend_class_entry *orig_class_entry = CG(active_class_entry);
|
||||
zend_op_array *orig_op_array = CG(active_op_array);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue