[NFC] Fixing some stdlib unused warnings

This commit is contained in:
LucianoAlmeida
2022-02-20 18:18:35 -03:00
parent b0043966cd
commit 09bf4cb6d1
3 changed files with 4 additions and 4 deletions

View File

@@ -154,7 +154,7 @@ internal struct _CocoaArrayWrapper: RandomAccessCollection {
guard buffer.count > 0 else { return (makeIterator(), 0) }
let start = buffer.baseAddress!
let c = Swift.min(self.count, buffer.count)
let end = _copyContents(subRange: 0 ..< c, initializing: start)
_ = _copyContents(subRange: 0 ..< c, initializing: start)
return (IndexingIterator(_elements: self, _position: c), c)
}
}