1
1
mirror of https://github.com/danbee/persephone synced 2025-03-04 08:39:11 +00:00

Silence warning about not using the result

This commit is contained in:
Daniel Barber 2020-02-02 16:37:51 -05:00
parent 07daa7168b
commit dbf454f509
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -57,7 +57,7 @@ extension MPDClient {
let chunkSize = Int(binaryPair.value)!
mpd_return_pair(self.connection, binaryPair.pair)
imageData![currentOffset...].withUnsafeMutableBytes { (pointer) in
_ = imageData![currentOffset...].withUnsafeMutableBytes { (pointer) in
mpd_recv_binary(self.connection, pointer, chunkSize)
}