summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-05 09:35:51 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-05 09:35:51 -0400
commit4639062133a1b7f20f85fcf4050f5d0b44e82273 (patch)
tree3d5711dc7d5a3b41eb1ae14e700df135e31301e3
parent9451f22d6ce481b0075889817dbc90598538d551 (diff)
uninitialized vars in e_client_maximize_geometry_get()
CID 1354989, 1354990
-rw-r--r--src/bin/e_client.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index d3f9b1e36..be4f52307 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -3598,10 +3598,6 @@ e_client_maximize_geometry_get(const E_Client *ec, E_Maximize max, int *mx, int
3598 3598
3599 switch (max & E_MAXIMIZE_TYPE) 3599 switch (max & E_MAXIMIZE_TYPE)
3600 { 3600 {
3601 case E_MAXIMIZE_NONE:
3602 return EINA_FALSE;
3603 break;
3604
3605 case E_MAXIMIZE_FULLSCREEN: 3601 case E_MAXIMIZE_FULLSCREEN:
3606 w = ec->zone->w; 3602 w = ec->zone->w;
3607 h = ec->zone->h; 3603 h = ec->zone->h;
@@ -3749,6 +3745,8 @@ e_client_maximize_geometry_get(const E_Client *ec, E_Maximize max, int *mx, int
3749 break; 3745 break;
3750 } 3746 }
3751 break; 3747 break;
3748 default:
3749 return EINA_FALSE;
3752 } 3750 }
3753 if (mx) *mx = x; 3751 if (mx) *mx = x;
3754 if (my) *my = y; 3752 if (my) *my = y;