diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-24 23:30:32 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-24 23:30:32 -0400 |
commit | d3e441267b13edcd67149395a030d5cb0c9505a5 (patch) | |
tree | bb218db6b0373c04728592c7c57070db485e7d0e /algparam.cpp | |
parent | d6f5ed03bf6ec88ea130800cdd7e37b99cf06253 (diff) | |
download | cryptopp-git-d3e441267b13edcd67149395a030d5cb0c9505a5.tar.gz |
Cleared "unused parameter" warning under GCC 5.1
Diffstat (limited to 'algparam.cpp')
-rw-r--r-- | algparam.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/algparam.cpp b/algparam.cpp index a70d5dd9..42962ffa 100644 --- a/algparam.cpp +++ b/algparam.cpp @@ -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 |