commit | 7b07d69958b865bb83500f0a8dc348a62969e7a8 | [log] [tgz] |
---|---|---|
author | Richard Trieu <rtrieu@google.com> | Thu Aug 02 23:22:39 2012 +0000 |
committer | Richard Trieu <rtrieu@google.com> | Thu Aug 02 23:22:39 2012 +0000 |
tree | 53b9bfa9ee9e4531cd2dae903f7abde72c568001 | |
parent | 55499db9a00e9bb7ba9943b2f1b5bc4645bbab1e [diff] [blame] |
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 eecf574..c3b3e54 100644 --- a/utils/yaml2obj/yaml2obj.cpp +++ b/utils/yaml2obj/yaml2obj.cpp
@@ -91,7 +91,7 @@ } bool operator ==(const hex_pair_iterator Other) { - return (IsDone == Other.IsDone == true) || + return (IsDone == Other.IsDone) || (Current == Other.Current && End == Other.End); }