summaryrefslogtreecommitdiff
path: root/integer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'integer.cpp')
-rw-r--r--integer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/integer.cpp b/integer.cpp
index 13a58a4e..cb38ca29 100644
--- a/integer.cpp
+++ b/integer.cpp
@@ -41,8 +41,10 @@
#if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE
# pragma GCC diagnostic ignored "-Wunused"
+#if !defined(__clang__)
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
+#endif
// Issue 340
#if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE