From: Chris Lattner Date: Fri, 2 Feb 2007 21:19:18 +0000 (+0000) Subject: silence annoying warning in release-asserts build X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=137d4b253384adce88bfa2a1c37695d90f0a9d6c;p=oota-llvm.git silence annoying warning in release-asserts build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33797 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/DenseMap.h b/include/llvm/ADT/DenseMap.h index cd76ddca24e..fa3e2df8947 100644 --- a/include/llvm/ADT/DenseMap.h +++ b/include/llvm/ADT/DenseMap.h @@ -233,6 +233,7 @@ private: // Insert the key/value into the new table. BucketT *DestBucket; bool FoundVal = LookupBucketFor(B->first, DestBucket); + FoundVal = FoundVal; // silence warning. assert(!FoundVal && "Key already in new map?"); DestBucket->first = B->first; new (&DestBucket->second) ValueT(B->second);