mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-17 11:12:25 +01:00
Fixed a couple of warning regressions
This commit is contained in:
parent
ebb4677089
commit
79e4327329
@ -319,6 +319,7 @@ namespace Catch {
|
||||
static void invokeTestCase( TestCase const& testCase ) {
|
||||
FatalConditionHandler fatalConditionHandler; // Handle signals
|
||||
testCase.invoke();
|
||||
fatalConditionHandler.reset(); // Not strictly needed but avoids warnings
|
||||
}
|
||||
|
||||
private:
|
||||
|
@ -61,7 +61,6 @@ std::string toString( std::string const& value ) {
|
||||
std::string subs;
|
||||
switch( s[i] ) {
|
||||
case '\r': subs = "\\r"; break;
|
||||
case '\l': subs = "\\l"; break;
|
||||
case '\n': subs = "\\n"; break;
|
||||
case '\t': subs = "\\t"; break;
|
||||
default: break;
|
||||
|
Loading…
Reference in New Issue
Block a user