Skip to content

Commit

Permalink
Remove unnecessary condtional assignment. The next line ignores the r…
Browse files Browse the repository at this point in the history
…esult of the assignment with the same condition.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175042 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
topperc committed Feb 13, 2013
1 parent 34760ee commit cef6cfe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/llvm/ADT/DenseMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,6 @@ class DenseMapBase {
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;
}
Expand Down

0 comments on commit cef6cfe

Please sign in to comment.