mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Use the new way of silencing this warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122195 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
476b242fe7
commit
9d38acb254
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user