From 1b2419d992fa04ee4b6fb6f100689bea4b69b488 Mon Sep 17 00:00:00 2001 From: RaptorFactor Date: Sun, 21 May 2017 01:16:08 -0700 Subject: [PATCH] Fix a warning about a non-existant warning under Clang. --- integer.cpp | 2 ++ 1 file changed, 2 insertions(+) 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