From: Mike Blumenkrantz Date: Thu, 13 Dec 2012 12:52:13 +0000 (+0000) Subject: another pedantic and probably unneeded null check X-Git-Tag: submit/efl/20131021.015651~2200 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=251ee5a5d67eefe164de408a76cfdf8aef036c82;p=platform%2Fupstream%2Fenlightenment.git another pedantic and probably unneeded null check SVN revision: 80837 --- diff --git a/src/bin/e_int_menus.c b/src/bin/e_int_menus.c index cd4b45a..6c4ca6c 100644 --- a/src/bin/e_int_menus.c +++ b/src/bin/e_int_menus.c @@ -1262,7 +1262,7 @@ _e_int_menus_clients_add_by_desk(E_Desk *curr_desk, Eina_List *borders, E_Menu * } desk = bd->desk; } - if (e_config->clientlist_separate_with == E_CLIENTLIST_GROUP_SEP_MENU) + if (subm && (e_config->clientlist_separate_with == E_CLIENTLIST_GROUP_SEP_MENU)) _e_int_menus_clients_item_create(bd, subm); else _e_int_menus_clients_item_create(bd, m);