E: Fix warning: variable 'h' set but not used

Signed-off-by: Christopher Michael <cpmichael1@comcast.net>

SVN revision: 78582
This commit is contained in:
Christopher Michael 2012-10-28 10:31:04 +00:00
parent 2d6a796007
commit 89f47fff81
1 changed files with 2 additions and 5 deletions

View 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);