diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-23 20:14:15 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-23 20:14:15 -0400 |
commit | 20e652abbb934fdee6a5ecf79fe1b036691c60a8 (patch) | |
tree | ad0779f15259a758b9acb32791d4cda83743e72f /gf256.h | |
parent | db40142116bb233e7ee75d8acfaf561f5b41cca5 (diff) | |
download | cryptopp-git-20e652abbb934fdee6a5ecf79fe1b036691c60a8.tar.gz |
Cleared "unused parameter" warning with GCC 5.1 and -Wextra
Diffstat (limited to 'gf256.h')
-rw-r--r-- | gf256.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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;} |