aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/unittest/googletest/gtest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/unittest/googletest/gtest.cc b/utils/unittest/googletest/gtest.cc
index 6538924..3fdff0a 100644
--- a/utils/unittest/googletest/gtest.cc
+++ b/utils/unittest/googletest/gtest.cc
@@ -2481,6 +2481,9 @@ static const char * TestPartResultTypeToString(TestPartResult::Type type) {
return "Failure\n";
#endif
}
+
+ // All cases return, so this is unreachable but GCC doesn't know it
+ abort();
}
// Prints a TestPartResult to a String.