Mark unused parameters as EINA_UNUSED and remove unused variables.

This commit is contained in:
Stephen Houston 2018-01-12 16:58:16 -06:00
parent 0fa5d3d0e3
commit f4cff7229f
1 changed files with 1 additions and 2 deletions

View File

@ -639,7 +639,7 @@ tooltip_hide(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info
} }
static void static void
tooltip_hints(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED) tooltip_hints(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{ {
int w, h; int w, h;
evas_object_size_hint_aspect_get(obj, NULL, &w, &h); evas_object_size_hint_aspect_get(obj, NULL, &w, &h);
@ -693,7 +693,6 @@ popup_added(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
tt = &inst->base; tt = &inst->base;
if (tt) if (tt)
{ {
int w, h;
tt->tooltip_surface = surface; tt->tooltip_surface = surface;
tt->tooltip_content = event_info; tt->tooltip_content = event_info;
evas_object_data_set(event_info, "instance", inst); evas_object_data_set(event_info, "instance", inst);