QmlProfiler: Fix compiler warnings on release build

Change-Id: Id6fde7279f80cdc7a74322bcee4e0ce41f7fc3bc
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-01-12 11:08:33 +02:00
committed by Orgad Shaneh
parent ec046eaa59
commit 24e257f5ed
2 changed files with 2 additions and 0 deletions

View File

@@ -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());
}

View File

@@ -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());
}