mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-02 16:21:36 +00:00
Silence a warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108169 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ed42f1e58f
commit
a70282dcfa
@ -3602,7 +3602,7 @@ void UnitTest::AddTestPartResult(TestPartResult::Type result_type,
|
||||
// the --gtest_catch_exceptions flags are specified.
|
||||
DebugBreak();
|
||||
#else
|
||||
*static_cast<int*>(NULL) = 1;
|
||||
abort();
|
||||
#endif // GTEST_OS_WINDOWS
|
||||
} else if (GTEST_FLAG(throw_on_failure)) {
|
||||
#if GTEST_HAS_EXCEPTIONS
|
||||
|
Loading…
x
Reference in New Issue
Block a user