Remove unused variables (as found by ICC)

qgraphicsscene.cpp(1814): warning #177: variable "v1" was declared but never referenced

Change-Id: I8f14bb47f00ec0c56b2fe0794a71edfc872b3daa
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
This commit is contained in:
Thiago Macieira 2013-06-28 13:36:57 -07:00 committed by The Qt Project
parent 64a7ac344e
commit 9f763d2fbe

View File

@ -1810,10 +1810,6 @@ void QGraphicsScene::render(QPainter *painter, const QRectF &target, const QRect
.translate(-sourceRect.left(), -sourceRect.top()); .translate(-sourceRect.left(), -sourceRect.top());
painter->setWorldTransform(painterTransform, true); painter->setWorldTransform(painterTransform, true);
// Two unit vectors.
QLineF v1(0, 0, 1, 0);
QLineF v2(0, 0, 0, 1);
// Generate the style options // Generate the style options
QStyleOptionGraphicsItem *styleOptionArray = new QStyleOptionGraphicsItem[numItems]; QStyleOptionGraphicsItem *styleOptionArray = new QStyleOptionGraphicsItem[numItems];
for (int i = 0; i < numItems; ++i) for (int i = 0; i < numItems; ++i)