Cleared "unused parameter" warning under GCC 5.1

pull/35/head
Jeffrey Walton 2015-07-24 23:30:32 -04:00
parent d6f5ed03bf
commit d3e441267b
1 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,8 @@
#ifndef CRYPTOPP_IMPORTS
#include "algparam.h"
#include "misc.h"
#include "trap.h"
NAMESPACE_BEGIN(CryptoPP)
@ -20,7 +22,8 @@ bool CombinedNameValuePairs::GetVoidValue(const char *name, const std::type_info
void AlgorithmParametersBase::operator=(const AlgorithmParametersBase& rhs)
{
assert(false);
CRYPTOPP_UNUSED(rhs);
CRYPTOPP_ASSERT(false);
}
bool AlgorithmParametersBase::GetVoidValue(const char *name, const std::type_info &valueType, void *pValue) const