[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
@@ -170,7 +170,7 @@ void GDScriptParser::push_error(const String &p_message, const Node *p_origin) {
#ifdef DEBUG_ENABLED
void GDScriptParser::push_warning(const Node *p_source, GDScriptWarning::Code p_code, const Vector<String> &p_symbols) {
ERR_FAIL_COND(p_source == nullptr);
ERR_FAIL_NULL(p_source);
if (is_ignoring_warnings) {
return;
}