E: Fix warning: variable 'h' set but not used
authorChristopher Michael <cpmichael1@comcast.net>
Sun, 28 Oct 2012 10:31:04 +0000 (10:31 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Sun, 28 Oct 2012 10:31:04 +0000 (10:31 +0000)
Signed-off-by: Christopher Michael <cpmichael1@comcast.net>
SVN revision: 78582

src/modules/illume-indicator/e_mod_ind_win.c

index 5cde04e..6ee2d5c 100644 (file)
@@ -190,7 +190,7 @@ _e_mod_ind_win_cb_win_prop(void *data, int type __UNUSED__, void *event)
 {
    Ind_Win *iwin;
    Ecore_X_Event_Window_Property *ev;
-   Evas_Coord h = 0, mw = 0, mh = 0;
+   Evas_Coord mw = 0, mh = 0;
 
    ev = event;
 
@@ -199,8 +199,6 @@ _e_mod_ind_win_cb_win_prop(void *data, int type __UNUSED__, void *event)
      return ECORE_CALLBACK_PASS_ON;
    if (ev->atom != ATM_ENLIGHTENMENT_SCALE) return ECORE_CALLBACK_PASS_ON;
 
-   h = (il_ind_cfg->height * e_scale);
-
    edje_object_size_min_calc(iwin->o_base, &mw, &mh);
 //   printf("@@@@@@@@@@@@@@@@@@@@@@@ %i: %ix%i\n", h, mw, mh);
 
@@ -228,13 +226,12 @@ _e_mod_ind_win_cb_zone_resize(void *data, int type __UNUSED__, void *event)
 {
    Ind_Win *iwin;
    E_Event_Zone_Move_Resize *ev;
-   Evas_Coord h = 0, mw = 0, mh = 0;
+   Evas_Coord mw = 0, mh = 0;
 
    ev = event;
    if (!(iwin = data)) return ECORE_CALLBACK_PASS_ON;
    if (ev->zone != iwin->zone) return ECORE_CALLBACK_PASS_ON;
 
-   h = (il_ind_cfg->height * e_scale);
    edje_object_size_min_calc(iwin->o_base, &mw, &mh);
 //   printf("@@@@@@@@@@@@@@@@@@@@@@@ %i: %ix%i\n", h, mw, mh);