Remove unnecessary condtional assignment. The next line ignores the result of the...
authorCraig Topper <craig.topper@gmail.com>
Wed, 13 Feb 2013 07:44:17 +0000 (07:44 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 13 Feb 2013 07:44:17 +0000 (07:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175042 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/DenseMap.h

index 12cba08a61e90ac83a0e1c532e1de670978b88d8..d41061996436282bfe7c6a64903a4e19dc1eac0a 100644 (file)
@@ -493,7 +493,6 @@ private:
       if (KeyInfoT::isEqual(ThisBucket->first, EmptyKey)) {
         // If we've already seen a tombstone while probing, fill it in instead
         // of the empty bucket we eventually probed to.
-        if (FoundTombstone) ThisBucket = FoundTombstone;
         FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
         return false;
       }