From 1825b263f00eef69f39616e1cf13a4c1c35d8d0c Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Sat, 9 Jun 2018 17:21:59 +0200 Subject: [PATCH] ChunkMap::reAskPendingChunk fix unused parameter warning --- libretroshare/src/ft/ftchunkmap.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/ft/ftchunkmap.cc b/libretroshare/src/ft/ftchunkmap.cc index 64411ac58..800408ec6 100644 --- a/libretroshare/src/ft/ftchunkmap.cc +++ b/libretroshare/src/ft/ftchunkmap.cc @@ -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.