Merge pull request #22752 from aaronfranke/equals-redundant

Remove redundant "== true" and "== false" code
This commit is contained in:
Rémi Verschelde
2018-10-07 10:58:45 +02:00
committed by GitHub
44 changed files with 107 additions and 99 deletions

View File

@@ -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) {