mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
Fixed "variable set but not used (-Wunused-but-set-variable) warning
This commit is contained in:
parent
c13e2ca341
commit
af9cd44bd4
@ -657,7 +657,6 @@ bool ftController::completeFile(const RsFileHash& hash)
|
|||||||
uint32_t period = 0;
|
uint32_t period = 0;
|
||||||
TransferRequestFlags flags ;
|
TransferRequestFlags flags ;
|
||||||
TransferRequestFlags extraflags ;
|
TransferRequestFlags extraflags ;
|
||||||
uint32_t completeCount = 0;
|
|
||||||
|
|
||||||
{
|
{
|
||||||
RS_STACK_MUTEX(ctrlMutex);
|
RS_STACK_MUTEX(ctrlMutex);
|
||||||
@ -780,7 +779,6 @@ bool ftController::completeFile(const RsFileHash& hash)
|
|||||||
|
|
||||||
/* switch map */
|
/* switch map */
|
||||||
mCompleted[fc->mHash] = fc;
|
mCompleted[fc->mHash] = fc;
|
||||||
completeCount = mCompleted.size();
|
|
||||||
|
|
||||||
mDownloads.erase(it);
|
mDownloads.erase(it);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user