diff options
-rw-r--r-- | algparam.h | 1 | ||||
-rw-r--r-- | config.h | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -320,6 +320,7 @@ public: void MoveInto(void *buffer) const { AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this); + CRYPTOPP_UNUSED(p); } protected: @@ -94,6 +94,8 @@ typedef unsigned char byte; // put in global namespace to avoid ambiguity with other byte typedefs +#define CRYPTOPP_UNUSED(x) ((void)x) // cast to void. Portable way to suppress unused variable + NAMESPACE_BEGIN(CryptoPP) typedef unsigned short word16; |