mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 18:41:29 +00:00
[Servers] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
parent
82f6e9be5e
commit
fdd3d36c6d
48 changed files with 1105 additions and 1105 deletions
|
|
@ -5297,7 +5297,7 @@ ShaderLanguage::Node *ShaderLanguage::_parse_expression(BlockNode *p_block, cons
|
|||
}
|
||||
}
|
||||
|
||||
ERR_FAIL_COND_V(!base_function, nullptr); //bug, wtf
|
||||
ERR_FAIL_NULL_V(base_function, nullptr); // Bug, wtf.
|
||||
|
||||
for (int i = 0; i < call_function->arguments.size(); i++) {
|
||||
int argidx = i + 1;
|
||||
|
|
@ -5729,7 +5729,7 @@ ShaderLanguage::Node *ShaderLanguage::_parse_expression(BlockNode *p_block, cons
|
|||
}
|
||||
}
|
||||
|
||||
ERR_FAIL_COND_V(!expr, nullptr);
|
||||
ERR_FAIL_NULL_V(expr, nullptr);
|
||||
|
||||
/* OK now see what's NEXT to the operator.. */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue