mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Removed unnecessary assignments
This commit is contained in:
		
							parent
							
								
									4717d37bfa
								
							
						
					
					
						commit
						738d2ab969
					
				
					 37 changed files with 65 additions and 128 deletions
				
			
		|  | @ -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) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Wilson E. Alvarez
						Wilson E. Alvarez