forked from qt-creator/qt-creator
QmlProfiler: Fix compiler warnings on release build
Change-Id: Id6fde7279f80cdc7a74322bcee4e0ce41f7fc3bc Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
ec046eaa59
commit
24e257f5ed
@@ -156,6 +156,7 @@ OpaqueColoredPoint2DWithSize *TimelineItemsGeometry::vertexData()
|
||||
Q_ASSERT(attributes[3].position == 3);
|
||||
Q_ASSERT(attributes[3].tupleSize == 4);
|
||||
Q_ASSERT(attributes[3].type == GL_UNSIGNED_BYTE);
|
||||
Q_UNUSED(attributes);
|
||||
return static_cast<OpaqueColoredPoint2DWithSize *>(node->geometry()->vertexData());
|
||||
}
|
||||
|
||||
|
@@ -222,6 +222,7 @@ Point2DWithOffset *BindlingLoopsGeometry::vertexData()
|
||||
Q_ASSERT(attributes[1].position == 1);
|
||||
Q_ASSERT(attributes[1].tupleSize == 2);
|
||||
Q_ASSERT(attributes[1].type == GL_FLOAT);
|
||||
Q_UNUSED(attributes);
|
||||
return static_cast<Point2DWithOffset *>(geometry->vertexData());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user