From 46fb225134ef871a686d0571cc55256923eee110 Mon Sep 17 00:00:00 2001
From: Oz Linden <oz@lindenlab.com>
Date: Tue, 21 May 2019 12:09:26 -0400
Subject: [PATCH] suppress unreachable code warning because tut::fail triggers
 it

---
 indra/test/test.cpp | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/indra/test/test.cpp b/indra/test/test.cpp
index 52ac855d9f2..9d327ff3be2 100644
--- a/indra/test/test.cpp
+++ b/indra/test/test.cpp
@@ -57,16 +57,11 @@
 #include <gtest/gtest.h>
 #endif
 
-#if LL_MSVC
-#pragma warning (push)
+#if LL_WINDOWS
 #pragma warning (disable : 4702) // warning C4702: unreachable code
 #endif
 #include <boost/iostreams/tee.hpp>
 #include <boost/iostreams/stream.hpp>
-#if LL_MSVC
-#pragma warning (pop)
-#endif
-
 #include <boost/scoped_ptr.hpp>
 #include <boost/shared_ptr.hpp>
 #include <boost/make_shared.hpp>
-- 
GitLab