aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/debugger
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2023-11-16 08:42:09 +0100
committerAxel Spoerl <axel.spoerl@qt.io>2023-11-17 07:19:09 +0100
commitec9612768fa53dd7a203f69873718f345d6c1219 (patch)
treea0bff1d37d93fad5a27dddb805b78efad0a2a562 /tests/auto/qml/debugger
parent5b63e2a426e302bc01c38fa7ec1cc8ebe22ca0ac (diff)
Fix compiler warning in tst_QQmlDebugTranslationClient
Remove unused int debugCounter. Pick-to: 6.6 6.5 Change-Id: Ic986ae75c545b5e4bb8c4a387ec66ebfbef7d751 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'tests/auto/qml/debugger')
-rw-r--r--tests/auto/qml/debugger/qqmldebugtranslationclient/tst_qqmldebugtranslationclient.cpp2
1 files changed, 0 insertions, 2 deletions
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();