From bb01911e765486fbfd244b5b57b9dd4ca256394a Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Fri, 28 Nov 2014 14:45:07 -0800 Subject: [PATCH] Remove unused variable --- src/qgcunittest/UnitTest.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/qgcunittest/UnitTest.cc b/src/qgcunittest/UnitTest.cc index a00627e08..29366633c 100644 --- a/src/qgcunittest/UnitTest.cc +++ b/src/qgcunittest/UnitTest.cc @@ -87,7 +87,6 @@ void UnitTest::initTestCase(void) { _initTestCaseCalled = true; - _activeUnitTest = this; _missedMessageBoxCount = 0; _badResponseButton = false; } @@ -97,10 +96,7 @@ void UnitTest::initTestCase(void) void UnitTest::cleanupTestCase(void) { _cleanupTestCaseCalled = true; - - Q_ASSERT(_activeUnitTest != NULL); - _activeUnitTest = NULL; - + int missedMessageBoxCount = _missedMessageBoxCount; _missedMessageBoxCount = 0; -- 2.22.0