From cb794329e712bb2ddbb4c118db8d860230e25df4 Mon Sep 17 00:00:00 2001 From: Robert Mader Date: Thu, 28 Dec 2023 12:19:22 +0100 Subject: [PATCH] clutter/stage-view: Remove superfluous return in void function Fixes: 9d3e4fd402 ("clutter/stage-cogl: Use buffer age when view monitor is rotated") Part-of: --- clutter/clutter/clutter-stage-view.c | 10 +++++----- src/backends/meta-renderer-view.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/clutter/clutter/clutter-stage-view.c b/clutter/clutter/clutter-stage-view.c index 8b62f426f..b503ef839 100644 --- a/clutter/clutter/clutter-stage-view.c +++ b/clutter/clutter/clutter-stage-view.c @@ -216,11 +216,11 @@ clutter_stage_view_transform_rect_to_onscreen (ClutterStageView *view, { ClutterStageViewClass *view_class = CLUTTER_STAGE_VIEW_GET_CLASS (view); - return view_class->transform_rect_to_onscreen (view, - src_rect, - dst_width, - dst_height, - dst_rect); + view_class->transform_rect_to_onscreen (view, + src_rect, + dst_width, + dst_height, + dst_rect); } static void diff --git a/src/backends/meta-renderer-view.c b/src/backends/meta-renderer-view.c index 10215b058..6fc82f0f4 100644 --- a/src/backends/meta-renderer-view.c +++ b/src/backends/meta-renderer-view.c @@ -112,11 +112,11 @@ meta_renderer_view_transform_rect_to_onscreen (ClutterStageView *view, MetaRendererViewPrivate *priv = meta_renderer_view_get_instance_private (renderer_view); - return meta_rectangle_transform (src_rect, - priv->transform, - dst_width, - dst_height, - dst_rect); + meta_rectangle_transform (src_rect, + priv->transform, + dst_width, + dst_height, + dst_rect); } static void