mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Replace ERR_FAIL_COND
with ERR_FAIL_NULL
where applicable
This commit is contained in:
parent
6916349697
commit
f18aa00e85
45 changed files with 85 additions and 85 deletions
|
@ -163,7 +163,7 @@ void JavaScriptObjectImpl::_get_property_list(List<PropertyInfo> *p_list) const
|
|||
}
|
||||
|
||||
void JavaScriptObjectImpl::_free_lock(void **p_lock, int p_type) {
|
||||
ERR_FAIL_COND_MSG(*p_lock == nullptr, "No lock to free!");
|
||||
ERR_FAIL_NULL_MSG(*p_lock, "No lock to free!");
|
||||
const Variant::Type type = (Variant::Type)p_type;
|
||||
switch (type) {
|
||||
case Variant::STRING: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue