Fix -Wunused-private-field warnings

* catch_console_colour private field 'm_impl' only used on Windows when no ANSI

* catch_reporter_junit private field 'm_currentTestSuccess' is not used at all
This commit is contained in:
Adam Strzelecki 2013-03-02 14:49:39 +01:00
parent ead139e094
commit 8b1f62bb7e
2 changed files with 2 additions and 1 deletions

View File

@ -35,8 +35,10 @@ namespace Catch {
void set( Colours colour );
~TextColour();
#if !defined( CATCH_CONFIG_USE_ANSI_COLOUR_CODES ) && defined ( CATCH_PLATFORM_WINDOWS )
private:
ConsoleColourImpl* m_impl;
#endif
};
} // end namespace Catch

View File

@ -234,7 +234,6 @@ namespace Catch {
private:
ReporterConfig m_config;
bool m_currentTestSuccess;
Stats m_testSuiteStats;
Stats* m_currentStats;