summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdir
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-19 16:19:01 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-19 16:20:08 +0200
commit49995ee35ff0b26e32303d77df619d3a2fbcb86b (patch)
tree59cac159b76d07a407149870a9f469251d99ac5c /tests/auto/qdir
parenta98ebc599ab7c99a6431d0420d3f0d238f37f6b1 (diff)
Tests: Fix some compile warnings.
As they are now compiled by default.
Diffstat (limited to 'tests/auto/qdir')
-rw-r--r--tests/auto/qdir/tst_qdir.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qdir/tst_qdir.cpp b/tests/auto/qdir/tst_qdir.cpp
index bc5c6872ee..0843633bdc 100644
--- a/tests/auto/qdir/tst_qdir.cpp
+++ b/tests/auto/qdir/tst_qdir.cpp
@@ -974,6 +974,7 @@ void tst_QDir::cd()
QDir d = startDir;
bool notUsed = d.exists(); // make sure we cache this before so we can see if 'cd' fails to flush this
+ Q_UNUSED(notUsed);
QCOMPARE(d.cd(cdDir), successExpected);
if (successExpected)
QCOMPARE(d.absolutePath(), newDir);