aboutsummaryrefslogtreecommitdiff
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 653892404f..3fdff0a9a3 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.