Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit cef6cfe

Browse files
committed
Remove unnecessary condtional assignment. The next line ignores the result of the assignment with the same condition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175042 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 34760ee commit cef6cfe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/llvm/ADT/DenseMap.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,6 @@ class DenseMapBase {
493493
if (KeyInfoT::isEqual(ThisBucket->first, EmptyKey)) {
494494
// If we've already seen a tombstone while probing, fill it in instead
495495
// of the empty bucket we eventually probed to.
496-
if (FoundTombstone) ThisBucket = FoundTombstone;
497496
FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
498497
return false;
499498
}

0 commit comments

Comments
 (0)