summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2020-12-14 14:45:43 +0100
committerSona Kurazyan <sona.kurazyan@qt.io>2020-12-17 14:33:56 +0100
commitd75c5026e919a9a031f900456ffef7752a03fa27 (patch)
tree08e57c4583f096e516e0da30c4a398cf00433b9d /tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp
parent1ec4a7eddc9d521cb84fdf2fe19608f2d446bcb8 (diff)
Clean-up warnings in corelib/thread tests
Fixed the following warnings: - empty expression statement has no effect; remove unnecessary ';' to silence this warning - zero as null pointer constant - no previous extern declaration for non-static variable - use of old-style cast - integer conversion warnings Change-Id: Ieb31b127ce8e3b543aaf88a8e8fc463dcc8bc4e3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp')
-rw-r--r--tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp b/tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp
index 6e0bbda2c2..dff599180c 100644
--- a/tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp
+++ b/tests/auto/corelib/thread/qresultstore/tst_qresultstore.cpp
@@ -535,7 +535,7 @@ void tst_QtConcurrentResultStore::pendingResultsDoNotLeak_data()
void tst_QtConcurrentResultStore::pendingResultsDoNotLeak()
{
QFETCH(bool, filterMode);
- CountedObject::LeakChecker leakChecker; Q_UNUSED(leakChecker);
+ CountedObject::LeakChecker leakChecker; Q_UNUSED(leakChecker)
ResultStoreCountedObject store;
store.setFilterMode(filterMode);