Avcoid coverity warning

This commit is contained in:
Richard Frith-Macdonald 2020-08-23 16:01:21 +01:00
parent 32f306b615
commit 1ddcb25b7e

View file

@ -332,7 +332,7 @@ randombytes(uint8_t *buf, unsigned len)
}
stream.next_out = dst + stream.total_out;
stream.avail_out = (unsigned)(capacity - stream.total_out);
deflate(&stream, Z_FINISH);
(void)deflate(&stream, Z_FINISH);
}
deflateEnd(&stream);
result = [NSMutableData alloc];