mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue