diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-23 19:30:14 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-23 19:30:14 -0400 |
commit | 35b213c08576dd77c898f637f64089f36c930be2 (patch) | |
tree | c76a6ac694bee72de7282eea769ed17306dcce97 /modarith.h | |
parent | e87857f67de99e53d1fc9d00a794ea491eeadfdf (diff) | |
download | cryptopp-git-35b213c08576dd77c898f637f64089f36c930be2.tar.gz |
Cleared "unused parameter" warning with GCC 5.1 and -Wextra
Diffstat (limited to 'modarith.h')
-rw-r--r-- | modarith.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -100,7 +100,8 @@ public: Element RandomElement( RandomNumberGenerator &rng , const RandomizationParameter &ignore_for_now = 0 ) const // left RandomizationParameter arg as ref in case RandomizationParameter becomes a more complicated struct - { + { + CRYPTOPP_UNUSED(ignore_for_now); return Element( rng , Integer( (long) 0) , m_modulus - Integer( (long) 1 ) ) ; } |