elc_popup.c: remove unnecessary local variable.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Sun, 11 Aug 2013 13:35:10 +0000 (22:35 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Sun, 11 Aug 2013 13:35:10 +0000 (22:35 +0900)
src/lib/elc_popup.c

index 6385e6c3cf446a36e613e0a81a7db136e3c2140e..b3dc827fecc494d2fee5a225d0227c61d51c36d6 100644 (file)
@@ -138,7 +138,6 @@ _scroller_size_calc(Evas_Object *obj)
 {
    Evas_Coord h;
    Evas_Coord h_title = 0;
-   Evas_Coord h_content = 0;
    Evas_Coord h_action_area = 0;
    const char *action_area_height;
 
@@ -164,8 +163,7 @@ _scroller_size_calc(Evas_Object *obj)
                   * elm_config_scale_get() * elm_object_scale_get(obj));
      }
 
-   h_content = h - (h_title + h_action_area);
-   sd->max_sc_h = h_content;
+   sd->max_sc_h = h - (h_title + h_action_area);
 }
 
 static void