diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-02-17 14:59:49 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-02-18 15:13:49 (GMT) |
commit | a6eac63470ad8dd3f1687fcd4039a5312c44a5d2 (patch) | |
tree | 9cc236e0e9363a9fe2b0399acce1e041d46dbfba | |
parent | 08a40e6d4ef085c13d95c300c4df6b19caf7c483 (diff) | |
download | Qt-a6eac63470ad8dd3f1687fcd4039a5312c44a5d2.zip Qt-a6eac63470ad8dd3f1687fcd4039a5312c44a5d2.tar.gz Qt-a6eac63470ad8dd3f1687fcd4039a5312c44a5d2.tar.bz2 |
Compiler warning, unusable variable in tst_QGraphicsScene benchmark.
-rw-r--r-- | tests/benchmarks/gui/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/benchmarks/gui/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp b/tests/benchmarks/gui/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp index 5bd07f9..9531619 100644 --- a/tests/benchmarks/gui/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp +++ b/tests/benchmarks/gui/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp @@ -209,7 +209,6 @@ void tst_QGraphicsScene::itemAt() if (!sceneRect.isNull()) scene.setSceneRect(sceneRect); - QGraphicsItem *item = 0; for (int y = 0; y < numItems_Y; ++y) { for (int x = 0; x < numItems_X; ++x) { QGraphicsRectItem *item = new QGraphicsRectItem(itemRect); |