[Modules] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
parent
36945dad07
commit
517e9f8aef
44 changed files with 557 additions and 557 deletions
|
|
@ -1419,7 +1419,7 @@ void GDScriptAnalyzer::resolve_class_body(GDScriptParser::ClassNode *p_class, bo
|
|||
}
|
||||
|
||||
void GDScriptAnalyzer::resolve_node(GDScriptParser::Node *p_node, bool p_is_root) {
|
||||
ERR_FAIL_COND_MSG(p_node == nullptr, "Trying to resolve type of a null node.");
|
||||
ERR_FAIL_NULL_MSG(p_node, "Trying to resolve type of a null node.");
|
||||
|
||||
switch (p_node->type) {
|
||||
case GDScriptParser::Node::NONE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue