Fix a warning about a non-existant warning under Clang.

pull/444/head
RaptorFactor 2017-05-21 01:16:08 -07:00 committed by Marcel Raad
parent 1d7f6aa7f5
commit 1b2419d992
No known key found for this signature in database
GPG Key ID: 33C416EFAE4D6F02
1 changed files with 2 additions and 0 deletions

View File

@ -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