diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-05-02 15:49:54 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-05-02 14:31:21 +0000 |
commit | fc12d7056610895ef7c67004eaf521509208db40 (patch) | |
tree | bc7574f3c102fad1e4ec0409ddad0b5d5a373cc2 /tests/auto/xmlpatternssdk/Worker.cpp | |
parent | d9ed92790e472978e530036211f380c9d28fa1fa (diff) | |
download | qtxmlpatterns-fc12d7056610895ef7c67004eaf521509208db40.tar.gz |
Tests: Fix clang warnings about unused variables
tests/auto/qxmlnodemodelindex/tst_qxmlnodemodelindex.cpp:112:warn:unused variable 'copy' [-Wunused-variable]
tests/auto/xmlpatternssdk/ResultThreader.h:86:warn:private field 'm_eventLoop' is not used [-Wunused-private-field]
tests/auto/xmlpatternssdk/Worker.cpp:114:warn:unused variable 'endB' [-Wunused-variable]
tests/auto/xmlpatternssdk/Worker.cpp:112:warn:unused variable 'itB' [-Wunused-variable]
Change-Id: Idb1d0f78233665cb64025bda90a325db4562b41a
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/xmlpatternssdk/Worker.cpp')
-rw-r--r-- | tests/auto/xmlpatternssdk/Worker.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/xmlpatternssdk/Worker.cpp b/tests/auto/xmlpatternssdk/Worker.cpp index 03bce43..01529d6 100644 --- a/tests/auto/xmlpatternssdk/Worker.cpp +++ b/tests/auto/xmlpatternssdk/Worker.cpp @@ -109,9 +109,7 @@ void Worker::threadFinished() deleteLater(); ResultThreader::Hash::const_iterator itA(m_result.constBegin()); - ResultThreader::Hash::const_iterator itB(m_baseline.constBegin()); const ResultThreader::Hash::const_iterator endA(m_result.constEnd()); - const ResultThreader::Hash::const_iterator endB(m_baseline.constEnd()); const int baselineCount = m_baseline.count(); const int resultCount = m_result.count(); |