mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-10 11:58:36 -05:00
Fix CppCheck in pqihandler.cc
/libretroshare/src/pqi/pqihandler.cc:200: warning: Cppcheck(unusedVariable): Unused variable: it
This commit is contained in:
parent
b77d027454
commit
20462496e9
@ -196,7 +196,7 @@ bool pqihandler::AddSearchModule(SearchModule *mod)
|
|||||||
{
|
{
|
||||||
RsStackMutex stack(coreMtx); /**************** LOCKED MUTEX ****************/
|
RsStackMutex stack(coreMtx); /**************** LOCKED MUTEX ****************/
|
||||||
// if peerid used -> error.
|
// if peerid used -> error.
|
||||||
std::map<RsPeerId, SearchModule *>::iterator it;
|
//std::map<RsPeerId, SearchModule *>::iterator it;
|
||||||
if (mod->peerid != mod->pqi->PeerId())
|
if (mod->peerid != mod->pqi->PeerId())
|
||||||
{
|
{
|
||||||
// ERROR!
|
// ERROR!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user