summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2020-02-17 18:47:54 +0900
committerHermet Park <hermetpark@gmail.com>2020-02-17 18:47:54 +0900
commitef4bfd847a4f09d0cf485e7029c8fc7ef44b263b (patch)
tree322be78bc92f18c1a39358fc26a88321d4af8581
parent36275929af4c247d27ce157da0914b9d39dc3725 (diff)
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
-rw-r--r--src/lib/elementary/efl_ui_selection_manager.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_selection_manager.c b/src/lib/elementary/efl_ui_selection_manager.c
index 3a5db9713c..5a2d0b18bd 100644
--- a/src/lib/elementary/efl_ui_selection_manager.c
+++ b/src/lib/elementary/efl_ui_selection_manager.c
@@ -4753,7 +4753,6 @@ EOLIAN static void
4753_efl_ui_selection_manager_selection_clear(Eo *obj, Efl_Ui_Selection_Manager_Data *pd, 4753_efl_ui_selection_manager_selection_clear(Eo *obj, Efl_Ui_Selection_Manager_Data *pd,
4754 Efl_Object *owner, Efl_Ui_Selection_Type type, unsigned int seat) 4754 Efl_Object *owner, Efl_Ui_Selection_Type type, unsigned int seat)
4755{ 4755{
4756 Eina_Bool local = EINA_FALSE;
4757 Sel_Manager_Seat_Selection *seat_sel; 4756 Sel_Manager_Seat_Selection *seat_sel;
4758 Sel_Manager_Selection *sel = NULL; 4757 Sel_Manager_Selection *sel = NULL;
4759 4758
@@ -4801,8 +4800,7 @@ _efl_ui_selection_manager_selection_clear(Eo *obj, Efl_Ui_Selection_Manager_Data
4801 free(seat_sel->sel_list[type].data.mem); 4800 free(seat_sel->sel_list[type].data.mem);
4802 seat_sel->sel_list[type].data.mem = NULL; 4801 seat_sel->sel_list[type].data.mem = NULL;
4803 } 4802 }
4804 if (sel->xwin != 0) local = EINA_TRUE; 4803 if (!sel->xwin) seat_sel->sel_list[type].clear();
4805 if (!local) seat_sel->sel_list[type].clear();
4806 else 4804 else
4807 { 4805 {
4808 Eina_List *l, *l_next; 4806 Eina_List *l, *l_next;