silence annoying warning in release-asserts build
authorChris Lattner <sabre@nondot.org>
Fri, 2 Feb 2007 21:19:18 +0000 (21:19 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 2 Feb 2007 21:19:18 +0000 (21:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33797 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/DenseMap.h

index cd76ddca24e7cfaa85b76b0a4b2c96c73576fcc7..fa3e2df8947a344162c5b2f344ed34c192496069 100644 (file)
@@ -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);