summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtextpiecetable
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/qtextpiecetable
parenta98ebc599ab7c99a6431d0420d3f0d238f37f6b1 (diff)
Tests: Fix some compile warnings.
As they are now compiled by default.
Diffstat (limited to 'tests/auto/qtextpiecetable')
-rw-r--r--tests/auto/qtextpiecetable/tst_qtextpiecetable.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qtextpiecetable/tst_qtextpiecetable.cpp b/tests/auto/qtextpiecetable/tst_qtextpiecetable.cpp
index 6f1b092709..12f17a890b 100644
--- a/tests/auto/qtextpiecetable/tst_qtextpiecetable.cpp
+++ b/tests/auto/qtextpiecetable/tst_qtextpiecetable.cpp
@@ -1108,6 +1108,8 @@ void tst_QTextPieceTable::removeWithChildFrame()
QTextFrame *frame = table->insertFrame(1, 6, ffmt);
QTextFrame *childFrame = table->insertFrame(3, 5, ffmt);
+ Q_UNUSED(frame);
+ Q_UNUSED(childFrame);
// used to give a failing assertion
table->remove(2, 5);