Commit 24e257f5 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

QmlProfiler: Fix compiler warnings on release build



Change-Id: Id6fde7279f80cdc7a74322bcee4e0ce41f7fc3bc
Reviewed-by: default avatarUlf Hermann <ulf.hermann@theqtcompany.com>
parent ec046eaa
......@@ -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());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment