Remove redundant '== true' after a comparison.
authorRichard Trieu <rtrieu@google.com>
Thu, 2 Aug 2012 23:22:39 +0000 (23:22 +0000)
committerRichard Trieu <rtrieu@google.com>
Thu, 2 Aug 2012 23:22:39 +0000 (23:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161223 91177308-0d34-0410-b5e6-96231b3b80d8

utils/yaml2obj/yaml2obj.cpp

index eecf574348ff5bdfe957636ef3e6e0818e387dca..c3b3e5499cded06a4d4038abe9324ede265dc3bc 100644 (file)
@@ -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);
   }