[mutter/gbsneto/software-picking: 5/5] clutter/stage-cogl: Remove unused variable
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/software-picking: 5/5] clutter/stage-cogl: Remove unused variable
- Date: Tue, 22 Jan 2019 14:55:05 +0000 (UTC)
commit 4cc99c33ab36ec0303ce863205c54bd748552935
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Jan 22 09:44:59 2019 -0200
clutter/stage-cogl: Remove unused variable
The view layout is being fetched but not used. Remove
it.
clutter/clutter/cogl/clutter-stage-cogl.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/clutter/clutter/cogl/clutter-stage-cogl.c b/clutter/clutter/cogl/clutter-stage-cogl.c
index ad9dec304..60f5b81e4 100644
--- a/clutter/clutter/cogl/clutter-stage-cogl.c
+++ b/clutter/clutter/cogl/clutter-stage-cogl.c
@@ -982,11 +982,8 @@ clutter_stage_cogl_get_dirty_pixel (ClutterStageWindow *stage_window,
ClutterStageViewCogl *view_cogl = CLUTTER_STAGE_VIEW_COGL (view);
ClutterStageViewCoglPrivate *view_priv =
clutter_stage_view_cogl_get_instance_private (view_cogl);
- cairo_rectangle_int_t view_layout;
cairo_rectangle_int_t *fb_damage;
- clutter_stage_view_get_layout (view, &view_layout);
-
fb_damage = &view_priv->damage_history[DAMAGE_HISTORY (view_priv->damage_index - 1)];
*x = fb_damage->x / fb_scale;
*y = fb_damage->y / fb_scale;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]