From 5bb0e6fd38beebdded2992d871929ebde94eaff8 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 23 Jul 2015 18:44:51 -0400 Subject: [PATCH] Cleared "unused variable" warning under GCC 5.1 with -Wall --- adhoc.cpp.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/adhoc.cpp.proto b/adhoc.cpp.proto index df09f118..e0fde30f 100644 --- a/adhoc.cpp.proto +++ b/adhoc.cpp.proto @@ -1,12 +1,18 @@ #include "filters.h" #include "files.h" #include "base64.h" +#include "misc.h" #include "hex.h" #include USING_NAMESPACE(CryptoPP) USING_NAMESPACE(std) +#if GCC_DIAGNOSTIC_AWARE +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wunused-variable" +#endif + extern int (*AdhocTest)(int argc, char *argv[]); int MyAdhocTest(int argc, char *argv[])