You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix many errors found by PVS-Studio
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
This commit is contained in:
@@ -132,7 +132,7 @@ GDScriptDataType GDScriptCompiler::_gdtype_from_datatype(const GDScriptParser::D
|
||||
result.kind = GDScriptDataType::SCRIPT;
|
||||
result.script_type = p_datatype.script_type;
|
||||
result.native_type = result.script_type->get_instance_base_type();
|
||||
}
|
||||
} break;
|
||||
case GDScriptParser::DataType::GDSCRIPT: {
|
||||
result.kind = GDScriptDataType::GDSCRIPT;
|
||||
result.script_type = p_datatype.script_type;
|
||||
|
||||
Reference in New Issue
Block a user