forked from enlightenment/efl
evas: Remove set but unused variables
Gcc warns that these variables are 'set but not used'. After reading the surrounding code, it turns out they are not actually used, so remove them. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
16a3509906
commit
6b63d9d6ec
|
@ -463,7 +463,7 @@ _evas_event_source_mouse_move_events(Evas_Object *eo_obj, Evas *eo_e,
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
Efl_Input_Pointer_Data *ev;
|
Efl_Input_Pointer_Data *ev;
|
||||||
Efl_Input_Pointer *evt;
|
Efl_Input_Pointer *evt;
|
||||||
Eina_Vector2 curpt, curpt_real, prevpt, prevpt_real;
|
Eina_Vector2 curpt, curpt_real, prevpt;
|
||||||
|
|
||||||
if (obj->delete_me || src->delete_me || e->is_frozen) return;
|
if (obj->delete_me || src->delete_me || e->is_frozen) return;
|
||||||
|
|
||||||
|
@ -472,7 +472,6 @@ _evas_event_source_mouse_move_events(Evas_Object *eo_obj, Evas *eo_e,
|
||||||
if (!ev) return;
|
if (!ev) return;
|
||||||
|
|
||||||
curpt_real = ev->cur;
|
curpt_real = ev->cur;
|
||||||
prevpt_real = ev->prev;
|
|
||||||
_transform_to_src_space_f(obj, src, &ev->cur);
|
_transform_to_src_space_f(obj, src, &ev->cur);
|
||||||
_transform_to_src_space_f(obj, src, &ev->prev);
|
_transform_to_src_space_f(obj, src, &ev->prev);
|
||||||
curpt = ev->cur;
|
curpt = ev->cur;
|
||||||
|
@ -682,7 +681,6 @@ _evas_event_source_hold_events(Evas_Object *eo_obj, int event_id, Efl_Input_Hold
|
||||||
Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS);
|
Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS);
|
||||||
Evas_Object *eo_src = _evas_object_image_source_get(eo_obj);
|
Evas_Object *eo_src = _evas_object_image_source_get(eo_obj);
|
||||||
Evas_Object_Protected_Data *src = efl_data_scope_get(eo_src, EFL_CANVAS_OBJECT_CLASS);
|
Evas_Object_Protected_Data *src = efl_data_scope_get(eo_src, EFL_CANVAS_OBJECT_CLASS);
|
||||||
Evas_Object_Protected_Data *child;
|
|
||||||
Evas_Object *eo_child;
|
Evas_Object *eo_child;
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
|
|
||||||
|
@ -691,7 +689,6 @@ _evas_event_source_hold_events(Evas_Object *eo_obj, int event_id, Efl_Input_Hold
|
||||||
EINA_LIST_FOREACH(src->proxy->src_event_in, l, eo_child)
|
EINA_LIST_FOREACH(src->proxy->src_event_in, l, eo_child)
|
||||||
{
|
{
|
||||||
if (src->delete_me) return;
|
if (src->delete_me) return;
|
||||||
child = efl_data_scope_get(eo_child, EFL_CANVAS_OBJECT_CLASS);
|
|
||||||
evas_object_event_callback_call(eo_obj, obj, EVAS_CALLBACK_HOLD, evt,
|
evas_object_event_callback_call(eo_obj, obj, EVAS_CALLBACK_HOLD, evt,
|
||||||
event_id, EFL_EVENT_HOLD);
|
event_id, EFL_EVENT_HOLD);
|
||||||
if (src->layer->evas->delete_me) break;
|
if (src->layer->evas->delete_me) break;
|
||||||
|
|
Loading…
Reference in New Issue