From 0a67de37bc04dd8dd5ac753efa74489c77e7a1e6 Mon Sep 17 00:00:00 2001 From: historic_bruno Date: Sun, 14 Jun 2015 21:07:42 +0000 Subject: [PATCH] Fixes clang warning about unknown warning group -Wunused-but-set-variable This was SVN commit r16768. --- source/third_party/mongoose/mongoose.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/third_party/mongoose/mongoose.cpp b/source/third_party/mongoose/mongoose.cpp index 203cc18e8c..e274b8e423 100644 --- a/source/third_party/mongoose/mongoose.cpp +++ b/source/third_party/mongoose/mongoose.cpp @@ -25,7 +25,9 @@ #ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wunused-function" -# pragma GCC diagnostic ignored "-Wunused-but-set-variable" +# ifndef __clang__ +# pragma GCC diagnostic ignored "-Wunused-but-set-variable" +# endif #endif #define NO_CGI