1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

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 3ae99a1181
commit c5f2684ba7

View File

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