summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/googletest/include/gtest/internal
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-01-21 18:02:01 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-01-21 18:02:01 +0000
commitfb6ecdf27c40654746780cb92f922655c59db19e (patch)
treeedf0c9c77a42b7a6f141f415366c13af68d47514 /llvm/utils/unittest/googletest/include/gtest/internal
parenteb3f454a67d28be656e4ef71bf14a1bef70706f9 (diff)
downloadbcm5719-llvm-fb6ecdf27c40654746780cb92f922655c59db19e.tar.gz
bcm5719-llvm-fb6ecdf27c40654746780cb92f922655c59db19e.zip
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
Diffstat (limited to 'llvm/utils/unittest/googletest/include/gtest/internal')
-rw-r--r--llvm/utils/unittest/googletest/include/gtest/internal/gtest-death-test-internal.h2
1 files changed, 0 insertions, 2 deletions
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 \
OpenPOWER on IntegriCloud