SL-10297 fix MSVC unreachable code warning (for real)

master
Oz Linden 2020-08-26 16:37:23 -04:00
parent 1aa140d3af
commit 6007475c87
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ LLError::ErrFatalHookResult wouldHaveCrashed(const std::string& message)
#if LL_MSVC
#pragma warning (push)
#pragma warning (disable : 4702) // warning C4702: unreachable code
#endif
tut::fail("fatal error message: " + message);
return LLError::ERR_DO_NOT_CRASH;
#if LL_MSVC