From 6ad76e4c8e1862d23d04bb34a3fbc330e6b8cd30 Mon Sep 17 00:00:00 2001 From: joncruz Date: Sat, 22 Mar 2008 06:38:19 +0000 Subject: [PATCH] warning cleanup --- src/PylogFormatter.h | 8 ++++---- src/TRPIFormatter.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/PylogFormatter.h b/src/PylogFormatter.h index 521ca612d..f2d72ea04 100644 --- a/src/PylogFormatter.h +++ b/src/PylogFormatter.h @@ -30,7 +30,7 @@ public: {} virtual ~PylogFormatter() { delete outputStream(); } - virtual void enterWorld( const WorldDescription & desc ) + virtual void enterWorld( const WorldDescription & /*desc*/ ) { (*_o) << "**************************************************" << endl; _o->flush(); @@ -296,7 +296,7 @@ protected: return _o; } - void _traceCurrent( const char* file, unsigned line, const CXXTEST_STD(string)& errMsg ) { + void _traceCurrent( const char* /*file*/, unsigned /*line*/, const CXXTEST_STD(string)& errMsg ) { _runPassed = false; if ( _suiteIndex < (int)_status.size() ) { if ( _testIndex < (int)_status[_suiteIndex].size() ) { @@ -305,7 +305,7 @@ protected: } } - void _warnCurrent( const char* file, unsigned line, const CXXTEST_STD(string)& errMsg ) { + void _warnCurrent( const char* /*file*/, unsigned /*line*/, const CXXTEST_STD(string)& errMsg ) { _runPassed = false; if ( _suiteIndex < (int)_status.size() ) { if ( _testIndex < (int)_status[_suiteIndex].size() ) { @@ -318,7 +318,7 @@ protected: } } - void _failCurrent( const char* file, unsigned line, const CXXTEST_STD(string)& errMsg ) { + void _failCurrent( const char* /*file*/, unsigned /*line*/, const CXXTEST_STD(string)& errMsg ) { _runPassed = false; if ( _suiteIndex < (int)_status.size() ) { if ( _testIndex < (int)_status[_suiteIndex].size() ) { diff --git a/src/TRPIFormatter.h b/src/TRPIFormatter.h index 4967f24b5..2b0ab20c3 100644 --- a/src/TRPIFormatter.h +++ b/src/TRPIFormatter.h @@ -16,7 +16,7 @@ # include #endif // _CXXTEST_OLD_STD -namespace CxxTest +namespace CxxTest { class TRPIFormatter : public TestListener { @@ -29,7 +29,7 @@ public: {} virtual ~TRPIFormatter() { delete outputStream(); } - virtual void enterWorld( const WorldDescription & desc ) + virtual void enterWorld( const WorldDescription & /*desc*/ ) { _status.clear(); -- 2.30.2