mirror of
https://github.com/godotengine/godot.git
synced 2025-10-27 19:54:27 +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:
parent
aa08ef2bed
commit
cb01268562
10 changed files with 25 additions and 23 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue