diff options
author | hjk <hjk@theqtcompany.com> | 2015-08-13 12:37:42 +0200 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-08-17 13:51:22 +0000 |
commit | 169a224ec7ad1a43f577d04b0c8174b4b78c96bb (patch) | |
tree | d8cd28a54002658fc9adcea7cdde81cf3016db7a | |
parent | d8662f7a5a99ca911b29db7dbf5f43354b2b61e2 (diff) |
Debugger: Use "unused" variables in autotests
Change-Id: I89872cd7792aed5e23331af4ae683dffa3c1291d
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
-rw-r--r-- | tests/auto/debugger/tst_dumpers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 1198c70052b..4e86a343db9 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -1857,7 +1857,7 @@ void tst_Dumpers::dumper_data() "pain.drawLine(2, 2, 130, 130);\n" "pain.end();\n" "QPixmap pm = QPixmap::fromImage(im);\n" - "unused(&pm);\n") + "unused(&app, &pm);\n") + GuiProfile() @@ -5814,7 +5814,7 @@ void tst_Dumpers::dumper_data() "pol.append(QPointF(2, 4));\n" "pol.append(QPointF(1, 4));\n" "QGraphicsPolygonItem *p = sc.addPolygon(pol);\n" - "unused(&p);\n") + "unused(&app, &p);\n") + GuiProfile() + Check("pol", "<5 items>", "@QPolygonF") + Check("p", "<5 items>", "@QGraphicsPolygonItem"); |