Use the new way of silencing this warning.

llvm-svn: 122195
This commit is contained in:
Nick Lewycky 2010-12-19 20:57:14 +00:00
parent c85935836b
commit de10f6132c

View File

@ -386,7 +386,7 @@ private:
// Insert the key/value into the new table.
BucketT *DestBucket;
bool FoundVal = LookupBucketFor(B->first, DestBucket);
FoundVal = FoundVal; // silence warning.
(void)FoundVal; // silence warning.
assert(!FoundVal && "Key already in new map?");
DestBucket->first = B->first;
new (&DestBucket->second) ValueT(B->second);