mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 07:41:38 +00:00
Use the new way of silencing this warning.
llvm-svn: 122195
This commit is contained in:
parent
c85935836b
commit
de10f6132c
@ -386,7 +386,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.
|
(void)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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user