You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Merge pull request #29941 from qarmin/redundant_code_and_others
Remove redundant code, possible NULL pointers and others
This commit is contained in:
@@ -76,7 +76,7 @@ RES _ResourceLoader::load(const String &p_path, const String &p_type_hint, bool
|
||||
|
||||
if (err != OK) {
|
||||
ERR_EXPLAIN("Error loading resource: '" + p_path + "'");
|
||||
ERR_FAIL_COND_V(err != OK, ret);
|
||||
ERR_FAIL_V(ret);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user