mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Removed some unused parameter warnings.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8481 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ec6f6ea009
commit
0ee754939e
8 changed files with 21 additions and 8 deletions
|
@ -288,6 +288,9 @@ void DistantChatService::removeVirtualPeer(const TurtleFileHash& hash,const Turt
|
|||
|
||||
#ifdef DEBUG_DISTANT_CHAT
|
||||
std::cerr << "Distant chat: Removing virtual peer " << virtual_peer_id << " for hash " << hash << std::endl;
|
||||
#else
|
||||
/* remove unused parameter warnings */
|
||||
(void) hash;
|
||||
#endif
|
||||
{
|
||||
RsStackMutex stack(mDistantChatMtx); /********** STACK LOCKED MTX ******/
|
||||
|
@ -354,6 +357,9 @@ void DistantChatService::receiveTurtleData(RsTurtleGenericTunnelItem *gitem,cons
|
|||
std::cerr << " hash = " << hash << std::endl;
|
||||
std::cerr << " vpid = " << virtual_peer_id << std::endl;
|
||||
std::cerr << " acting as = " << direction << std::endl;
|
||||
#else
|
||||
/* remove unused parameter warnings */
|
||||
(void) direction;
|
||||
#endif
|
||||
|
||||
RsTurtleGenericDataItem *item = dynamic_cast<RsTurtleGenericDataItem*>(gitem) ;
|
||||
|
|
|
@ -753,7 +753,7 @@ bool p3ChatService::handleRecvChatMsgItem(RsChatMsgItem *ci)
|
|||
return true ;
|
||||
}
|
||||
|
||||
void p3ChatService::locked_storeIncomingMsg(RsChatMsgItem *item)
|
||||
void p3ChatService::locked_storeIncomingMsg(RsChatMsgItem */*item*/)
|
||||
{
|
||||
#ifdef REMOVE
|
||||
privateIncomingList.push_back(item) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue