summaryrefslogtreecommitdiff
path: root/gf256.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-23 20:14:15 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-23 20:14:15 -0400
commit20e652abbb934fdee6a5ecf79fe1b036691c60a8 (patch)
treead0779f15259a758b9acb32791d4cda83743e72f /gf256.h
parentdb40142116bb233e7ee75d8acfaf561f5b41cca5 (diff)
downloadcryptopp-git-20e652abbb934fdee6a5ecf79fe1b036691c60a8.tar.gz
Cleared "unused parameter" warning with GCC 5.1 and -Wextra
Diffstat (limited to 'gf256.h')
-rw-r--r--gf256.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gf256.h b/gf256.h
index e0ea7482..b3ea71ee 100644
--- a/gf256.h
+++ b/gf256.h
@@ -15,7 +15,7 @@ public:
GF256(byte modulus) : m_modulus(modulus) {}
Element RandomElement(RandomNumberGenerator &rng, int ignored = 0) const
- {return rng.GenerateByte();}
+ {CRYPTOPP_UNUSED(ignored);return rng.GenerateByte();}
bool Equal(Element a, Element b) const
{return a==b;}
@@ -39,7 +39,7 @@ public:
{return a^=b;}
Element Double(Element a) const
- {return 0;}
+ {CRYPTOPP_UNUSED(a);return 0;}
Element One() const
{return 1;}