Removed unused parameter warnings in libbitdht.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4557 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2011-08-12 12:43:24 +00:00
parent babbea6599
commit 27842b8592
7 changed files with 34 additions and 25 deletions

View file

@ -66,8 +66,7 @@
bdNode::bdNode(bdNodeId *ownId, std::string dhtVersion, std::string bootfile, bdDhtFunctions *fns)
:mOwnId(*ownId), mNodeSpace(ownId, fns), mStore(bootfile, fns), mDhtVersion(dhtVersion), mFns(fns),
mQueryMgr(NULL), mConnMgr(NULL), mFilterPeers(NULL)
:mNodeSpace(ownId, fns), mQueryMgr(NULL), mConnMgr(NULL), mFilterPeers(NULL), mOwnId(*ownId), mDhtVersion(dhtVersion), mStore(bootfile, fns), mFns(fns)
{
init(); /* (uses this pointers) stuff it - do it here! */
@ -194,12 +193,6 @@ void bdNode::iteration()
mFns->bdPrintNodeId(std::cerr, &mOwnId);
std::cerr << std::endl;
#endif
/* iterate through queries */
bdId id;
bdNodeId targetNodeId;
std::list<bdQuery>::iterator it;
std::list<bdId>::iterator bit;
/* process incoming msgs */
while(mIncomingMsgs.size() > 0)
@ -418,7 +411,7 @@ void bdNode::checkPotentialPeer(bdId *id, bdId *src)
}
void bdNode::addPotentialPeer(bdId *id, bdId *src)
void bdNode::addPotentialPeer(bdId *id, bdId */*src*/)
{
mPotentialPeers.push_back(*id);
}