Fixed unused variable warning in CppUnitLite

release/4.3a0
Richard Roberts 2012-06-30 19:18:27 +00:00
parent 719e0f48a9
commit f8b559772f
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ protected:
{ try { condition; \
result_.addFailure (Failure (name_, __FILE__,__LINE__, SimpleString("Didn't throw: ") + StringFrom(#condition))); \
return; } \
catch (exception_name& e) {} \
catch (exception_name&) {} \
catch (...) { \
result_.addFailure (Failure (name_, __FILE__,__LINE__, SimpleString("Wrong exception: ") + StringFrom(#condition) + StringFrom(", expected: ") + StringFrom(#exception_name))); \
return; } }