summaryrefslogtreecommitdiff
path: root/algparam.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-06-04 23:24:15 -0400
committerJeffrey Walton <noloader@gmail.com>2015-06-04 23:24:15 -0400
commit5f25c7363534656ce6e1ecac63ca694e6d4ba7d6 (patch)
treedb74bb96ad195c19c77b2da2ac873d33faf62089 /algparam.h
parent54d72d091e68b4845c058a763463ed6193de2561 (diff)
downloadcryptopp-git-5f25c7363534656ce6e1ecac63ca694e6d4ba7d6.tar.gz
Add CRYPTOPP_UNUSED to help supress unused variable warnings. Applied to AlgorithmParametersTemplate because its use is nearly ubiquitous
Diffstat (limited to 'algparam.h')
-rw-r--r--algparam.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/algparam.h b/algparam.h
index ea5129c2..6a227407 100644
--- a/algparam.h
+++ b/algparam.h
@@ -320,6 +320,7 @@ public:
void MoveInto(void *buffer) const
{
AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
+ CRYPTOPP_UNUSED(p);
}
protected: