diff --git a/dh2.cpp b/dh2.cpp index 26b714d4..4c062d4e 100644 --- a/dh2.cpp +++ b/dh2.cpp @@ -11,11 +11,14 @@ NAMESPACE_BEGIN(CryptoPP) struct NullCryptoParameters : public CryptoParameters { void AssignFrom(const NameValuePairs &source) { + CRYPTOPP_UNUSED(source); } bool Validate(RandomNumberGenerator &rng, unsigned int level) const { + CRYPTOPP_UNUSED(rng); CRYPTOPP_UNUSED(level); return false; } bool GetVoidValue(const char *name, const std::type_info &valueType, void *pValue) const { + CRYPTOPP_UNUSED(name); CRYPTOPP_UNUSED(valueType); CRYPTOPP_UNUSED(pValue); return false; } }; @@ -35,10 +38,14 @@ struct NullSimpleKeyAgreementDomain : public TwoBases