summaryrefslogtreecommitdiffstats
path: root/tests/auto/qthreadstorage/tst_qthreadstorage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qthreadstorage/tst_qthreadstorage.cpp')
-rw-r--r--tests/auto/qthreadstorage/tst_qthreadstorage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qthreadstorage/tst_qthreadstorage.cpp b/tests/auto/qthreadstorage/tst_qthreadstorage.cpp
index 2391c81b63..d3eea0cae2 100644
--- a/tests/auto/qthreadstorage/tst_qthreadstorage.cpp
+++ b/tests/auto/qthreadstorage/tst_qthreadstorage.cpp
@@ -320,7 +320,7 @@ public:
static QBasicAtomicInt count;
inline SPointer() { count.ref(); }
inline ~SPointer() { count.deref(); }
- inline SPointer(const SPointer &other) { count.ref(); }
+ inline SPointer(const SPointer & /* other */) { count.ref(); }
};
QBasicAtomicInt SPointer::count = Q_BASIC_ATOMIC_INITIALIZER(0);