mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] Fixing some stdlib unused warnings
This commit is contained in:
@@ -822,8 +822,8 @@ internal struct _ContiguousArrayBuffer<Element>: _ArrayBufferProtocol {
|
||||
// class type to use _ContiguousArrayStorage<AnyObject> when we bridge
|
||||
// to objective-c we need to set the correct Element type so that when
|
||||
// we bridge back we can use O(1) bridging i.e we can adopt the storage.
|
||||
_swift_setClassMetadata(_ContiguousArrayStorage<Element>.self,
|
||||
onObject: _storage)
|
||||
_ = _swift_setClassMetadata(_ContiguousArrayStorage<Element>.self,
|
||||
onObject: _storage)
|
||||
}
|
||||
return _storage
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user