From: Craig Topper Date: Wed, 13 Feb 2013 07:44:17 +0000 (+0000) Subject: Remove unnecessary condtional assignment. The next line ignores the result of the... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=cef6cfe4a67af030754b4151cd63076c4aab7467;p=oota-llvm.git 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 --- diff --git a/include/llvm/ADT/DenseMap.h b/include/llvm/ADT/DenseMap.h index 12cba08a61e..d4106199643 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; }