Fixes warnings when built by GCC with -Wswitch-default. Original patch by Zhixu Liu (zhixu.liu@gmail.com).

This commit is contained in:
vladlosev
2010-07-14 22:36:31 +00:00
parent 3899557cb8
commit 447ed6474d
4 changed files with 6 additions and 4 deletions

View File

@@ -2504,9 +2504,9 @@ static const char * TestPartResultTypeToString(TestPartResult::Type type) {
#else
return "Failure\n";
#endif
default:
return "Unknown result type";
}
return "Unknown result type";
}
// Prints a TestPartResult to a String.