Remove redundant '== true' after a comparison.
[oota-llvm.git] / 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);
   }