From fb6ecdf27c40654746780cb92f922655c59db19e Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Sat, 21 Jan 2012 18:02:01 +0000 Subject: Remove unreachable defaults from gtest. This will ensure LLVM and Clang build -Wswitch-enum-redundant-default (an on-by-default warning I'm about to add to Clang). llvm-svn: 148639 --- .../googletest/include/gtest/internal/gtest-death-test-internal.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/utils/unittest/googletest/include') diff --git a/llvm/utils/unittest/googletest/include/gtest/internal/gtest-death-test-internal.h b/llvm/utils/unittest/googletest/include/gtest/internal/gtest-death-test-internal.h index 1d9f83b652b..7bac2bd872b 100644 --- a/llvm/utils/unittest/googletest/include/gtest/internal/gtest-death-test-internal.h +++ b/llvm/utils/unittest/googletest/include/gtest/internal/gtest-death-test-internal.h @@ -207,8 +207,6 @@ GTEST_API_ bool ExitedUnsuccessfully(int exit_status); gtest_dt->Abort(::testing::internal::DeathTest::TEST_DID_NOT_DIE); \ break; \ } \ - default: \ - break; \ } \ } \ } else \ -- cgit v1.2.3