diff --git a/test/quick_exit_fail.cpp b/test/quick_exit_fail.cpp index b1d394e..e32c298 100644 --- a/test/quick_exit_fail.cpp +++ b/test/quick_exit_fail.cpp @@ -1,4 +1,3 @@ - // Test for quick_exit.hpp // // Copyright 2018 Peter Dimov @@ -7,6 +6,9 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt +#if defined(_MSC_VER) +# pragma warning(disable: 4702) // unreachable code +#endif #include diff --git a/test/quick_exit_test.cpp b/test/quick_exit_test.cpp index e5f7795..9b25ac5 100644 --- a/test/quick_exit_test.cpp +++ b/test/quick_exit_test.cpp @@ -1,4 +1,3 @@ - // Test for quick_exit.hpp // // Copyright 2018 Peter Dimov @@ -7,6 +6,9 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt +#if defined(_MSC_VER) +# pragma warning(disable: 4702) // unreachable code +#endif #include