mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #22752 from aaronfranke/equals-redundant
Remove redundant "== true" and "== false" code
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user