From 54413de9b183373fc59839293abbc4d16c3e9154 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 7 Nov 2011 22:07:06 +0000 Subject: [PATCH] clean up some compiler warnings SVN revision: 64873 --- src/bin/e_border.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/e_border.c b/src/bin/e_border.c index 66964091f..e0112048a 100644 --- a/src/bin/e_border.c +++ b/src/bin/e_border.c @@ -2390,7 +2390,6 @@ _e_border_maximize(E_Border *bd, E_Maximize max) { case E_MAXIMIZE_NONE: /* Ignore */ - max = E_MAXIMIZE_NONE; break; case E_MAXIMIZE_FULLSCREEN: @@ -4869,6 +4868,7 @@ _e_border_cb_window_configure_request(void *data __UNUSED__, int zx, zy, zw, zh; int rx = bd->x; int ry = bd->y; + zx = zy = zw = zh = 0; /* * This code does resize and move a window on a @@ -5080,13 +5080,13 @@ _e_border_cb_window_stack_request(void *data __UNUSED__, if (e->detail == ECORE_X_WINDOW_STACK_ABOVE) { EINA_LIST_FOREACH(bd->client.e.state.video_child, l, tmp) - ecore_x_window_raise(tmp->win); + if (tmp) ecore_x_window_raise(tmp->win); ecore_x_window_raise(e->win); } else if (e->detail == ECORE_X_WINDOW_STACK_BELOW) { EINA_LIST_FOREACH(bd->client.e.state.video_child, l, tmp) - ecore_x_window_lower(tmp->win); + if (tmp) ecore_x_window_lower(tmp->win); ecore_x_window_lower(e->win); } }