From eaec90c897216c9c517ed8d63cb3e61be0b4d30c Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Sat, 7 Sep 2013 11:57:53 -0700 Subject: [PATCH] Disable gcc warning for KeyvaDB --- Subtrees/beast/modules/beast_db/beast_db.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Subtrees/beast/modules/beast_db/beast_db.cpp b/Subtrees/beast/modules/beast_db/beast_db.cpp index 622c2afdbd..ab2fcbe0a2 100644 --- a/Subtrees/beast/modules/beast_db/beast_db.cpp +++ b/Subtrees/beast/modules/beast_db/beast_db.cpp @@ -26,6 +26,13 @@ namespace beast { +#if BEAST_GCC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" +#endif #include "keyvalue/beast_KeyvaDB.cpp" +#if BEAST_GCC +#pragma GCC diagnostic pop +#endif }