mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #22752 from aaronfranke/equals-redundant
Remove redundant "== true" and "== false" code
This commit is contained in:
commit
44d82b3a07
44 changed files with 107 additions and 99 deletions
|
@ -521,7 +521,7 @@ void Variant::evaluate(const Operator &p_op, const Variant &p_a,
|
|||
const Dictionary *arr_a = reinterpret_cast<const Dictionary *>(p_a._data._mem);
|
||||
const Dictionary *arr_b = reinterpret_cast<const Dictionary *>(p_b._data._mem);
|
||||
|
||||
_RETURN((*arr_a == *arr_b) == false);
|
||||
_RETURN(*arr_a != *arr_b);
|
||||
}
|
||||
|
||||
CASE_TYPE(math, OP_NOT_EQUAL, ARRAY) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue