Fixes warnings when built by GCC with -Wswitch-default. Original patch by Zhixu Liu (zhixu.liu@gmail.com).
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user