summaryrefslogtreecommitdiff
path: root/tests/auto/xmlpatternssdk/ResultThreader.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-05-02 15:49:54 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-05-02 14:31:21 +0000
commitfc12d7056610895ef7c67004eaf521509208db40 (patch)
treebc7574f3c102fad1e4ec0409ddad0b5d5a373cc2 /tests/auto/xmlpatternssdk/ResultThreader.h
parentd9ed92790e472978e530036211f380c9d28fa1fa (diff)
downloadqtxmlpatterns-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/ResultThreader.h')
-rw-r--r--tests/auto/xmlpatternssdk/ResultThreader.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/xmlpatternssdk/ResultThreader.h b/tests/auto/xmlpatternssdk/ResultThreader.h
index 22bde42..ee9438d 100644
--- a/tests/auto/xmlpatternssdk/ResultThreader.h
+++ b/tests/auto/xmlpatternssdk/ResultThreader.h
@@ -61,8 +61,7 @@ namespace QPatternistSDK
/**
* Creates a ResultThreader that will read @p file when run() is called.
*/
- ResultThreader(QEventLoop &ev,
- QFile *file,
+ ResultThreader(QFile *file,
const Type type,
QObject *parent);
@@ -83,7 +82,6 @@ namespace QPatternistSDK
QFile *const m_file;
const Type m_type;
- QEventLoop & m_eventLoop;
};
}