[llvm-commits] [llvm] r108169 - /llvm/trunk/utils/unittest/googletest/gtest.cc
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Jul 12 11:17:48 PDT 2010
Author: stoklund
Date: Mon Jul 12 13:17:47 2010
New Revision: 108169
URL: http://llvm.org/viewvc/llvm-project?rev=108169&view=rev
Log:
Silence a warning.
Modified:
llvm/trunk/utils/unittest/googletest/gtest.cc
Modified: llvm/trunk/utils/unittest/googletest/gtest.cc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/gtest.cc?rev=108169&r1=108168&r2=108169&view=diff
==============================================================================
--- llvm/trunk/utils/unittest/googletest/gtest.cc (original)
+++ llvm/trunk/utils/unittest/googletest/gtest.cc Mon Jul 12 13:17:47 2010
@@ -3602,7 +3602,7 @@
// 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
More information about the llvm-commits
mailing list