[gnome-shell] st-scroll-view: remove spurious assignment of uninitialized data



commit 73cae8ce9a288876de61e298b44d6eac0c971774
Author: Christopher Aillon <caillon redhat com>
Date:   Fri May 6 12:36:52 2011 -0700

    st-scroll-view: remove spurious assignment of uninitialized data
    
    https://bugzilla.gnome.org/show_bug.cgi?id=649596

 src/st/st-scroll-view.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/st/st-scroll-view.c b/src/st/st-scroll-view.c
index 618648a..47db3e2 100644
--- a/src/st/st-scroll-view.c
+++ b/src/st/st-scroll-view.c
@@ -422,8 +422,6 @@ st_scroll_view_get_preferred_height (ClutterActor *actor,
   clutter_actor_get_preferred_width (priv->child, -1,
                                      &child_min_width, NULL);
 
-  natural_height = child_natural_height;
-
   if (min_height_p)
     *min_height_p = 0;
 



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