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
commit 44d82b3a07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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) {