clutter/stage: Fix trace being non-scoped

While integrating Tracy, gcc caught its variable being unused here.
Bugfixes start flowing even before any actual profiling!

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3313>
This commit is contained in:
Ivan Molodetskikh 2023-10-04 08:45:24 +04:00
parent ad3c40cbd0
commit 2ffd1b1663

View File

@ -979,7 +979,7 @@ clutter_stage_update_devices (ClutterStage *stage,
ClutterStagePrivate *priv = stage->priv; ClutterStagePrivate *priv = stage->priv;
GSList *l; GSList *l;
COGL_TRACE_BEGIN (ClutterStageUpdateDevices, "UpdateDevices"); COGL_TRACE_BEGIN_SCOPED (ClutterStageUpdateDevices, "UpdateDevices");
for (l = devices; l; l = l->next) for (l = devices; l; l = l->next)
{ {