summaryrefslogtreecommitdiffstats
path: root/include/gtest/internal/gtest-death-test-internal.h
diff options
context:
space:
mode:
authorvladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2010-07-14 22:36:31 (GMT)
committervladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2010-07-14 22:36:31 (GMT)
commit447ed6474deca82844b211e57503579ab1c560f0 (patch)
tree1b59366f9b80c25b0ed734dbe5d588ffc0682ec9 /include/gtest/internal/gtest-death-test-internal.h
parent3899557cb8563bb0da8f44d435bb02b2095e07fb (diff)
downloadgoogletest-447ed6474deca82844b211e57503579ab1c560f0.zip
googletest-447ed6474deca82844b211e57503579ab1c560f0.tar.gz
googletest-447ed6474deca82844b211e57503579ab1c560f0.tar.bz2
Fixes warnings when built by GCC with -Wswitch-default. Original patch by Zhixu Liu (zhixu.liu@gmail.com).
Diffstat (limited to 'include/gtest/internal/gtest-death-test-internal.h')
-rw-r--r--include/gtest/internal/gtest-death-test-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gtest/internal/gtest-death-test-internal.h b/include/gtest/internal/gtest-death-test-internal.h
index e433084..9bd2aa3 100644
--- a/include/gtest/internal/gtest-death-test-internal.h
+++ b/include/gtest/internal/gtest-death-test-internal.h
@@ -176,6 +176,8 @@ GTEST_API_ bool ExitedUnsuccessfully(int exit_status);
gtest_dt->Abort(::testing::internal::DeathTest::TEST_DID_NOT_DIE); \
break; \
} \
+ default: \
+ break; \
} \
} \
} else \