Commit bb01911e authored by Don Gagne's avatar Don Gagne

Remove unused variable

parent 88e1e3b0
...@@ -87,7 +87,6 @@ void UnitTest::initTestCase(void) ...@@ -87,7 +87,6 @@ void UnitTest::initTestCase(void)
{ {
_initTestCaseCalled = true; _initTestCaseCalled = true;
_activeUnitTest = this;
_missedMessageBoxCount = 0; _missedMessageBoxCount = 0;
_badResponseButton = false; _badResponseButton = false;
} }
...@@ -97,10 +96,7 @@ void UnitTest::initTestCase(void) ...@@ -97,10 +96,7 @@ void UnitTest::initTestCase(void)
void UnitTest::cleanupTestCase(void) void UnitTest::cleanupTestCase(void)
{ {
_cleanupTestCaseCalled = true; _cleanupTestCaseCalled = true;
Q_ASSERT(_activeUnitTest != NULL);
_activeUnitTest = NULL;
int missedMessageBoxCount = _missedMessageBoxCount; int missedMessageBoxCount = _missedMessageBoxCount;
_missedMessageBoxCount = 0; _missedMessageBoxCount = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment