Fixed some compiler warnings

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6419 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2013-06-09 17:54:54 +00:00
parent 3b5bd220cf
commit a304ffbab7
11 changed files with 20 additions and 19 deletions

View file

@ -1058,7 +1058,7 @@ bool PGPHandler::encryptDataBin(const PGPIdType& key_id,const void *data, const
return res ;
}
bool PGPHandler::decryptDataBin(const PGPIdType& key_id,const void *encrypted_data, const uint32_t encrypted_len, unsigned char *data, unsigned int *data_len)
bool PGPHandler::decryptDataBin(const PGPIdType& /*key_id*/,const void *encrypted_data, const uint32_t encrypted_len, unsigned char *data, unsigned int *data_len)
{
int out_length ;
unsigned char *out ;

View file

@ -799,7 +799,7 @@ std::string RsCertificate::toStdString_oldFormat() const
return res ;
}
bool RsCertificate::initFromString_oldFormat(const std::string& certstr,uint32_t& err_code)
bool RsCertificate::initFromString_oldFormat(const std::string& certstr,uint32_t& /*err_code*/)
{
//parse the text to get ip address
try