From: Doyoun Kang Date: Tue, 5 Dec 2017 01:56:03 +0000 (+0900) Subject: e_policy: remove logically dead code X-Git-Tag: submit/tizen/20171207.025043~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50a31a92d75dfbbccc3ee362ab0dd65c769bf8ec;p=platform%2Fupstream%2Fenlightenment.git e_policy: remove logically dead code Change-Id: I4b531fc04e8436241929e224c238ec32210c3c25 --- diff --git a/src/bin/e_policy.c b/src/bin/e_policy.c index b837ede9ef..556b963c62 100644 --- a/src/bin/e_policy.c +++ b/src/bin/e_policy.c @@ -1550,7 +1550,6 @@ e_policy_client_maximize(E_Client *ec) E_OBJECT_CHECK_RETURN(ec, EINA_FALSE); E_OBJECT_TYPE_CHECK_RETURN(ec, E_CLIENT_TYPE, EINA_FALSE); - if (EINA_UNLIKELY(!ec)) return EINA_FALSE; if (e_object_is_del(E_OBJECT(ec))) return EINA_FALSE; if ((e_policy_client_is_keyboard(ec)) || @@ -1773,9 +1772,6 @@ e_policy_client_is_floating(E_Client *ec) E_OBJECT_CHECK_RETURN(ec, EINA_FALSE); E_OBJECT_TYPE_CHECK_RETURN(ec, E_CLIENT_TYPE, EINA_FALSE); - if (EINA_UNLIKELY(!ec)) - return EINA_FALSE; - return ec->floating; }