aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/tracing/timelineitemsrenderpass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/tracing/timelineitemsrenderpass.cpp')
-rw-r--r--src/libs/tracing/timelineitemsrenderpass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/tracing/timelineitemsrenderpass.cpp b/src/libs/tracing/timelineitemsrenderpass.cpp
index a4f89dc64d..00de497292 100644
--- a/src/libs/tracing/timelineitemsrenderpass.cpp
+++ b/src/libs/tracing/timelineitemsrenderpass.cpp
@@ -269,7 +269,7 @@ OpaqueColoredPoint2DWithSize *OpaqueColoredPoint2DWithSize::fromVertexData(QSGGe
Q_ASSERT(attributes[3].position == 3);
Q_ASSERT(attributes[3].tupleSize == 4);
Q_ASSERT(attributes[3].type == GL_UNSIGNED_BYTE);
- Q_UNUSED(attributes);
+ Q_UNUSED(attributes)
return static_cast<OpaqueColoredPoint2DWithSize *>(geometry->vertexData());
}
@@ -383,7 +383,7 @@ TimelineRenderPass::State *TimelineItemsRenderPass::update(const TimelineAbstrac
int indexTo, bool stateChanged,
float spacing) const
{
- Q_UNUSED(stateChanged);
+ Q_UNUSED(stateChanged)
const TimelineModel *model = renderer->model();
if (!model || indexFrom < 0 || indexTo > model->count() || indexFrom >= indexTo)
return oldState;