[mutter/gbsneto/software-picking: 38/41] clutter/stage: Remove double assignment



commit ed410e0f33c0c4646baaff6c1cfe6d7893a65fb2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Feb 5 09:50:06 2019 -0200

    clutter/stage: Remove double assignment
    
    The 'priv' variable is assigned twice with the same
    value. Only assign it once.
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/402

 clutter/clutter/clutter-stage.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c
index dc64ddf3b..29a3ff0da 100644
--- a/clutter/clutter/clutter-stage.c
+++ b/clutter/clutter/clutter-stage.c
@@ -1448,8 +1448,6 @@ _clutter_stage_do_pick_on_view (ClutterStage     *stage,
   float viewport_offset_x;
   float viewport_offset_y;
 
-  priv = stage->priv;
-
   context = _clutter_context_get_default ();
   fb_scale = clutter_stage_view_get_scale (view);
   clutter_stage_view_get_layout (view, &view_layout);


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