diff options
Diffstat (limited to 'tests/auto/qtextpiecetable/tst_qtextpiecetable.cpp')
-rw-r--r-- | tests/auto/qtextpiecetable/tst_qtextpiecetable.cpp | 2 |
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); |