[clutter/windows-fixes] clutter-stage.c: Avoid returning value in a void function



commit 1f87d51414bde2a7a7951af60caff1557c0862ee
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Oct 20 15:28:59 2021 +0800

    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 */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]