mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Fix warning: variable ‘peerIt1’ set but not used
/libretroshare/src/pqi/p3peermgr.cc:2619: warning: variable ‘peerIt1’ set but not used [-Wunused-but-set-variable] std::set<RsPgpId>::iterator peerIt1 = groupItem.peerIds.find(*peerIt);
This commit is contained in:
parent
78cfde9b4f
commit
e12f51b1be
1 changed files with 1 additions and 1 deletions
|
@ -2616,7 +2616,7 @@ bool p3PeerMgrIMPL::assignPeersToGroup(const RsNodeGroupId &groupId, const std::
|
|||
|
||||
for (std::list<RsPgpId>::const_iterator peerIt = peerIds.begin(); peerIt != peerIds.end(); ++peerIt)
|
||||
{
|
||||
std::set<RsPgpId>::iterator peerIt1 = groupItem.peerIds.find(*peerIt);
|
||||
//std::set<RsPgpId>::iterator peerIt1 = groupItem.peerIds.find(*peerIt);
|
||||
|
||||
if (assign)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue