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:
thunder2 2015-06-15 22:41:18 +00:00
parent ec6f6ea009
commit 0ee754939e
8 changed files with 21 additions and 8 deletions

View file

@ -865,6 +865,9 @@ void p3discovery2::processContactInfo(const SSLID &fromId, const RsDiscContactIt
std::cerr << "p3discovery2::processContactInfo(" << fromId << ") PGPID: ";
std::cerr << item->pgpId << " Ignoring Info on self";
std::cerr << std::endl;
#else
/* remove unused parameter warnings */
(void) fromId;
#endif
delete item;
return;
@ -1025,7 +1028,7 @@ void p3discovery2::sendPGPCertificate(const PGPID &aboutId, const SSLID &toId)
}
void p3discovery2::recvPGPCertificate(const SSLID &fromId, RsDiscPgpCertItem *item)
void p3discovery2::recvPGPCertificate(const SSLID &/*fromId*/, RsDiscPgpCertItem *item)
{
#ifdef P3DISC_DEBUG