From: Richard Trieu Date: Thu, 2 Aug 2012 23:22:39 +0000 (+0000) Subject: Remove redundant '== true' after a comparison. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7b07d69958b865bb83500f0a8dc348a62969e7a8;p=oota-llvm.git Remove redundant '== true' after a comparison. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161223 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/yaml2obj/yaml2obj.cpp b/utils/yaml2obj/yaml2obj.cpp index eecf574348f..c3b3e5499cd 100644 --- a/utils/yaml2obj/yaml2obj.cpp +++ b/utils/yaml2obj/yaml2obj.cpp @@ -91,7 +91,7 @@ struct hex_pair_iterator { } bool operator ==(const hex_pair_iterator Other) { - return (IsDone == Other.IsDone == true) || + return (IsDone == Other.IsDone) || (Current == Other.Current && End == Other.End); }