forked from enlightenment/efl
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:
parent
36275929af
commit
ef4bfd847a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue