summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfuture/tst_qfuture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qfuture/tst_qfuture.cpp')
-rw-r--r--tests/auto/qfuture/tst_qfuture.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qfuture/tst_qfuture.cpp b/tests/auto/qfuture/tst_qfuture.cpp
index 8afdf48fc3..26d96f0f81 100644
--- a/tests/auto/qfuture/tst_qfuture.cpp
+++ b/tests/auto/qfuture/tst_qfuture.cpp
@@ -1453,6 +1453,7 @@ void tst_QFuture::exceptions_QTBUG18149()
try {
MyClass m;
+ Q_UNUSED(m);
throw 0;
} catch (int) {}