From 05e93b078646a263dd14e1d3b68bf0307a95e696 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Tue, 6 Aug 2013 17:59:02 -0700 Subject: [PATCH] Tweak fatal_error macro to remove warning --- Subtrees/beast/modules/beast_core/diagnostic/beast_FatalError.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Subtrees/beast/modules/beast_core/diagnostic/beast_FatalError.h b/Subtrees/beast/modules/beast_core/diagnostic/beast_FatalError.h index 4821b2b260..c1c488d2ed 100644 --- a/Subtrees/beast/modules/beast_core/diagnostic/beast_FatalError.h +++ b/Subtrees/beast/modules/beast_core/diagnostic/beast_FatalError.h @@ -160,6 +160,6 @@ private: #define fatal_assert(condition) { if (! (condition)) { fatal_require_report(condition); } } -#define fatal_error(message) do { FatalError (message, __FILE__, __LINE__); BEAST_ANALYZER_NORETURN } while (0); +#define fatal_error(message) { FatalError (message, __FILE__, __LINE__); BEAST_ANALYZER_NORETURN } #endif