efl_ui_selection_manager: remove unnecessary variable

Summary: No logical changes.

Test Plan: meson build

Reviewers: Hermet, zmike

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11362
This commit is contained in:
Yeongjong Lee 2020-02-17 18:47:54 +09:00 committed by Hermet Park
parent 36275929af
commit ef4bfd847a
1 changed files with 1 additions and 3 deletions

View File

@ -4753,7 +4753,6 @@ EOLIAN static void
_efl_ui_selection_manager_selection_clear(Eo *obj, Efl_Ui_Selection_Manager_Data *pd,
Efl_Object *owner, Efl_Ui_Selection_Type type, unsigned int seat)
{
Eina_Bool local = EINA_FALSE;
Sel_Manager_Seat_Selection *seat_sel;
Sel_Manager_Selection *sel = NULL;
@ -4801,8 +4800,7 @@ _efl_ui_selection_manager_selection_clear(Eo *obj, Efl_Ui_Selection_Manager_Data
free(seat_sel->sel_list[type].data.mem);
seat_sel->sel_list[type].data.mem = NULL;
}
if (sel->xwin != 0) local = EINA_TRUE;
if (!local) seat_sel->sel_list[type].clear();
if (!sel->xwin) seat_sel->sel_list[type].clear();
else
{
Eina_List *l, *l_next;