ChunkMap::reAskPendingChunk fix unused parameter warning

This commit is contained in:
Gioacchino Mazzurco 2018-06-09 17:21:59 +02:00
parent 5d237c8753
commit 1825b263f0
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -257,7 +257,9 @@ void ChunkMap::setChunkCheckingResult(uint32_t chunk_number,bool check_succeeded
}
}
bool ChunkMap::reAskPendingChunk(const RsPeerId& peer_id,uint32_t size_hint,uint64_t& offset,uint32_t& size)
bool ChunkMap::reAskPendingChunk( const RsPeerId& peer_id,
uint32_t /*size_hint*/,
uint64_t& offset, uint32_t& size)
{
// make sure that we're at the end of the file. No need to be too greedy in the middle of it.