diff --git a/include/internal/catch_console_colour.hpp b/include/internal/catch_console_colour.hpp index 6cb0b828..6fad8335 100644 --- a/include/internal/catch_console_colour.hpp +++ b/include/internal/catch_console_colour.hpp @@ -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 diff --git a/include/reporters/catch_reporter_junit.hpp b/include/reporters/catch_reporter_junit.hpp index 21c4ccfb..ca091670 100644 --- a/include/reporters/catch_reporter_junit.hpp +++ b/include/reporters/catch_reporter_junit.hpp @@ -234,7 +234,6 @@ namespace Catch { private: ReporterConfig m_config; - bool m_currentTestSuccess; Stats m_testSuiteStats; Stats* m_currentStats;