From ec9612768fa53dd7a203f69873718f345d6c1219 Mon Sep 17 00:00:00 2001 From: Axel Spoerl Date: Thu, 16 Nov 2023 08:42:09 +0100 Subject: Fix compiler warning in tst_QQmlDebugTranslationClient Remove unused int debugCounter. Pick-to: 6.6 6.5 Change-Id: Ic986ae75c545b5e4bb8c4a387ec66ebfbef7d751 Reviewed-by: Tim Jenssen --- .../qqmldebugtranslationclient/tst_qqmldebugtranslationclient.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/auto/qml/debugger') diff --git a/tests/auto/qml/debugger/qqmldebugtranslationclient/tst_qqmldebugtranslationclient.cpp b/tests/auto/qml/debugger/qqmldebugtranslationclient/tst_qqmldebugtranslationclient.cpp index 4ad9699cb9..13fd2e5bda 100644 --- a/tests/auto/qml/debugger/qqmldebugtranslationclient/tst_qqmldebugtranslationclient.cpp +++ b/tests/auto/qml/debugger/qqmldebugtranslationclient/tst_qqmldebugtranslationclient.cpp @@ -105,9 +105,7 @@ private: if (newCurrentOutputLine > m_currentOutputLine) { // lets wait a little bit more to not cut anything int triggeredCount = 0; - int debugCounter = 0; do { - debugCounter++; triggeredCount = m_process->output().size(); QTest::qWait(updateTimeOut); newCurrentOutputLine = m_process->output().size(); -- cgit v1.2.3