You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Removed unnecessary assignments
This commit is contained in:
@@ -1451,15 +1451,13 @@ Error GDCompiler::_parse_function(GDScript *p_script, const GDParser::ClassNode
|
||||
|
||||
codegen.opcodes.push_back(GDFunction::OPCODE_END);
|
||||
|
||||
GDFunction *gdfunc = NULL;
|
||||
|
||||
/*
|
||||
if (String(p_func->name)=="") { //initializer func
|
||||
gdfunc = &p_script->initializer;
|
||||
*/
|
||||
//} else { //regular func
|
||||
p_script->member_functions[func_name] = memnew(GDFunction);
|
||||
gdfunc = p_script->member_functions[func_name];
|
||||
GDFunction *gdfunc = p_script->member_functions[func_name];
|
||||
//}
|
||||
|
||||
if (p_func) {
|
||||
|
||||
Reference in New Issue
Block a user