From 1f87d51414bde2a7a7951af60caff1557c0862ee Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 20 Oct 2021 15:28:59 +0800 Subject: clutter-stage.c: Avoid returning value in a void function Eliminate warning C4098 (returning value in a void function), which is considered an error if building against GLib-2.68.x or later. --- clutter/clutter-stage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c index 2c67ca3ad..d28167274 100644 --- a/clutter/clutter-stage.c +++ b/clutter/clutter-stage.c @@ -3795,8 +3795,8 @@ _clutter_stage_schedule_update (ClutterStage *stage) if (stage_window == NULL) return; - return _clutter_stage_window_schedule_update (stage_window, - stage->priv->sync_delay); + _clutter_stage_window_schedule_update (stage_window, + stage->priv->sync_delay); } /* Returns the earliest time the stage is ready to update */ -- cgit v1.2.1