diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-02-13 07:44:17 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-02-13 07:44:17 +0000 |
commit | cef6cfe4a67af030754b4151cd63076c4aab7467 (patch) | |
tree | 3f845d7d6ee64e46ca5ccae4b62ced9a41fef9d7 | |
parent | 34760ee55f951385a3b4321d6686315b9e518304 (diff) |
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
-rw-r--r-- | include/llvm/ADT/DenseMap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/ADT/DenseMap.h b/include/llvm/ADT/DenseMap.h index 12cba08a61..d410619964 100644 --- a/include/llvm/ADT/DenseMap.h +++ b/include/llvm/ADT/DenseMap.h @@ -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; } |