mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-04 17:15:31 -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 ****************/
|
||||
// if peerid used -> error.
|
||||
std::map<RsPeerId, SearchModule *>::iterator it;
|
||||
//std::map<RsPeerId, SearchModule *>::iterator it;
|
||||
if (mod->peerid != mod->pqi->PeerId())
|
||||
{
|
||||
// ERROR!
|
||||
|
Loading…
x
Reference in New Issue
Block a user