silence annoying warning in release-asserts build

llvm-svn: 33797
This commit is contained in:
Chris Lattner 2007-02-02 21:19:18 +00:00
parent 37d400a83d
commit f4af392bd9
1 changed files with 1 additions and 0 deletions

View 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);