You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fix some code found by Coverity Scan and PVS Studio
This commit is contained in:
@@ -301,6 +301,8 @@ bool SceneTreeDock::_track_inherit(const String &p_target_scene_path, Node *p_de
|
||||
Ref<PackedScene> data = ResourceLoader::load(path);
|
||||
if (data.is_valid()) {
|
||||
p = data->instance(PackedScene::GEN_EDIT_STATE_INSTANCE);
|
||||
if (!p)
|
||||
continue;
|
||||
instances.push_back(p);
|
||||
} else
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user