diff options
author | noloader <noloader@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2015-07-02 01:27:15 +0000 |
---|---|---|
committer | noloader <noloader@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2015-07-02 01:27:15 +0000 |
commit | 0fd98cb23b696c2bafc9255bd73ebbe5ce576f41 (patch) | |
tree | 4409367385c541b03c4d41225c1efada6702e3db | |
parent | 1ae432917c9c194b71e8a5422ea17cdb608c3650 (diff) | |
download | cryptopp-0fd98cb23b696c2bafc9255bd73ebbe5ce576f41.tar.gz |
Cleared unused function warnings with -Wall
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@564 57ff6487-cd31-0410-9ec3-f628ee90f5f0
-rw-r--r-- | eccrypto.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eccrypto.cpp b/eccrypto.cpp index 922104c..dfff26e 100644 --- a/eccrypto.cpp +++ b/eccrypto.cpp @@ -11,6 +11,10 @@ #include "argnames.h" #include "ec2n.h" +#if GCC_DIAGNOSTIC_AWARE +# pragma GCC diagnostic ignored "-Wunused-function" +#endif + NAMESPACE_BEGIN(CryptoPP) #if 0 @@ -436,7 +440,7 @@ template <class EC> void DL_GroupParameters_EC<EC>::Initialize(const OID &oid) Element G; bool result = GetCurve().DecodePoint(G, ssG, (size_t)ssG.MaxRetrievable()); this->SetSubgroupGenerator(G); - assert(result); + assert(result); CRYPTOPP_UNUSED(result); StringSource ssN(param.n, true, new HexDecoder); m_n.Decode(ssN, (size_t)ssN.MaxRetrievable()); |