summaryrefslogtreecommitdiff
path: root/fips140.cpp
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 /fips140.cpp
parentdb40142116bb233e7ee75d8acfaf561f5b41cca5 (diff)
downloadcryptopp-git-20e652abbb934fdee6a5ecf79fe1b036691c60a8.tar.gz
Cleared "unused parameter" warning with GCC 5.1 and -Wextra
Diffstat (limited to 'fips140.cpp')
-rw-r--r--fips140.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/fips140.cpp b/fips140.cpp
index 1fcf5901..17e91eee 100644
--- a/fips140.cpp
+++ b/fips140.cpp
@@ -5,8 +5,15 @@
#ifndef CRYPTOPP_IMPORTS
#include "fips140.h"
+#include "misc.h"
#include "trdlocal.h" // needs to be included last for cygwin
+#if GCC_DIAGNOSTIC_AWARE
+# pragma GCC diagnostic ignored "-Wunused-value"
+# pragma GCC diagnostic ignored "-Wunused-variable"
+# pragma GCC diagnostic ignored "-Wunused-parameter"
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
// Define this to 1 to turn on FIPS 140-2 compliance features, including additional tests during