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/qxmlnodemodelindex | |
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/qxmlnodemodelindex')
-rw-r--r-- | tests/auto/qxmlnodemodelindex/tst_qxmlnodemodelindex.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qxmlnodemodelindex/tst_qxmlnodemodelindex.cpp b/tests/auto/qxmlnodemodelindex/tst_qxmlnodemodelindex.cpp index c2e260d..0bef5bf 100644 --- a/tests/auto/qxmlnodemodelindex/tst_qxmlnodemodelindex.cpp +++ b/tests/auto/qxmlnodemodelindex/tst_qxmlnodemodelindex.cpp @@ -110,6 +110,7 @@ void tst_QXmlNodeModelIndex::copyConstructor() const { /* The extra paranthesis silences a warning on win32-msvc. */ const QXmlNodeModelIndex copy((QXmlNodeModelIndex())); + Q_UNUSED(copy) } } |