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