[Modules] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable

This commit is contained in:
A Thousand Ships committed 2023-09-26 16:44:52 +02:00
1 parent 36945dad07
commit 517e9f8aef
44 files changed
+557 -557

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ GDScriptAnalyzer *GDScriptParserRef::get_analyzer() {
}
Error GDScriptParserRef::raise_status(Status p_new_status) {
ERR_FAIL_COND_V(parser == nullptr, ERR_INVALID_DATA);
ERR_FAIL_NULL_V(parser, ERR_INVALID_DATA);
if (result != OK) {
return result;