summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/thread
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-26 17:38:14 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-26 18:06:46 +0200
commitbd3088ceb322381ac33bda11554667f1c9a421f8 (patch)
treee6b8eed1b083d2ff62c79a0b7a1d77217f3fff95 /tests/auto/corelib/thread
parentf418a96f9b7f003738894d0c19e176b2abc457df (diff)
Fix warnings about unused variables and functions in tests
Change-Id: Ia758a91384083c13fb4d743f500fef7a6629dfd5 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/thread')
-rw-r--r--tests/auto/corelib/thread/qmutex/tst_qmutex.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/corelib/thread/qmutex/tst_qmutex.cpp b/tests/auto/corelib/thread/qmutex/tst_qmutex.cpp
index 11f34343ab..6603e5d7ce 100644
--- a/tests/auto/corelib/thread/qmutex/tst_qmutex.cpp
+++ b/tests/auto/corelib/thread/qmutex/tst_qmutex.cpp
@@ -715,7 +715,6 @@ void tst_QMutex::try_lock_for_recursive()
public:
void run()
{
- const std::chrono::milliseconds systemTimersResolutionAsDuration(systemTimersResolution);
testsTurn.release();
threadsTurn.acquire();