uninitialized vars in e_client_maximize_geometry_get()

CID 1354989, 1354990
This commit is contained in:
Mike Blumenkrantz 2016-05-05 09:35:51 -04:00
parent 9451f22d6c
commit 4639062133
1 changed files with 2 additions and 4 deletions

View File

@ -3598,10 +3598,6 @@ e_client_maximize_geometry_get(const E_Client *ec, E_Maximize max, int *mx, int
switch (max & E_MAXIMIZE_TYPE) switch (max & E_MAXIMIZE_TYPE)
{ {
case E_MAXIMIZE_NONE:
return EINA_FALSE;
break;
case E_MAXIMIZE_FULLSCREEN: case E_MAXIMIZE_FULLSCREEN:
w = ec->zone->w; w = ec->zone->w;
h = ec->zone->h; h = ec->zone->h;
@ -3749,6 +3745,8 @@ e_client_maximize_geometry_get(const E_Client *ec, E_Maximize max, int *mx, int
break; break;
} }
break; break;
default:
return EINA_FALSE;
} }
if (mx) *mx = x; if (mx) *mx = x;
if (my) *my = y; if (my) *my = y;