Silence a warning.

llvm-svn: 108169
This commit is contained in:
Jakob Stoklund Olesen 2010-07-12 18:17:47 +00:00
parent aea2afe334
commit f059642c50
1 changed files with 1 additions and 1 deletions

View File

@ -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