Fix CppCheck in pqihandler.cc

/libretroshare/src/pqi/pqihandler.cc:200: warning:
Cppcheck(unusedVariable): Unused variable: it
This commit is contained in:
Phenom 2017-07-26 10:33:55 +02:00 committed by csoler
parent b77d027454
commit 20462496e9

View File

@ -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!