efl: remove warning due to unused variable/parameters.

Reviewers: #committers, felipealmeida, zmike

Reviewed By: #committers, felipealmeida, zmike

Subscribers: zmike, YOhoho, Hermet, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7554
This commit is contained in:
Cedric BAIL 2019-01-09 14:54:54 -05:00 committed by Mike Blumenkrantz
parent c21a39c88a
commit f5172faebb
4 changed files with 9 additions and 10 deletions

View File

@ -104,14 +104,14 @@ _efl_ui_caching_factory_item_class_set(Eo *obj,
} }
static const Efl_Object * static const Efl_Object *
_efl_ui_caching_factory_item_class_get(const Eo *obj, _efl_ui_caching_factory_item_class_get(const Eo *obj EINA_UNUSED,
Efl_Ui_Caching_Factory_Data *pd) Efl_Ui_Caching_Factory_Data *pd)
{ {
return pd->klass; return pd->klass;
} }
static void static void
_efl_ui_caching_factory_memory_limit_set(Eo *obj, _efl_ui_caching_factory_memory_limit_set(Eo *obj EINA_UNUSED,
Efl_Ui_Caching_Factory_Data *pd, Efl_Ui_Caching_Factory_Data *pd,
unsigned int limit) unsigned int limit)
{ {
@ -121,14 +121,14 @@ _efl_ui_caching_factory_memory_limit_set(Eo *obj,
} }
static unsigned int static unsigned int
_efl_ui_caching_factory_memory_limit_get(const Eo *obj, _efl_ui_caching_factory_memory_limit_get(const Eo *obj EINA_UNUSED,
Efl_Ui_Caching_Factory_Data *pd) Efl_Ui_Caching_Factory_Data *pd)
{ {
return pd->limit.memory; return pd->limit.memory;
} }
static void static void
_efl_ui_caching_factory_items_limit_set(Eo *obj, _efl_ui_caching_factory_items_limit_set(Eo *obj EINA_UNUSED,
Efl_Ui_Caching_Factory_Data *pd, Efl_Ui_Caching_Factory_Data *pd,
unsigned int limit) unsigned int limit)
{ {
@ -138,7 +138,7 @@ _efl_ui_caching_factory_items_limit_set(Eo *obj,
} }
static unsigned int static unsigned int
_efl_ui_caching_factory_items_limit_get(const Eo *obj, _efl_ui_caching_factory_items_limit_get(const Eo *obj EINA_UNUSED,
Efl_Ui_Caching_Factory_Data *pd) Efl_Ui_Caching_Factory_Data *pd)
{ {
return pd->limit.items; return pd->limit.items;
@ -166,7 +166,7 @@ _efl_ui_caching_factory_efl_ui_factory_release(Eo *obj,
} }
static void static void
_efl_ui_caching_factory_efl_object_invalidate(Eo *obj, _efl_ui_caching_factory_efl_object_invalidate(Eo *obj EINA_UNUSED,
Efl_Ui_Caching_Factory_Data *pd) Efl_Ui_Caching_Factory_Data *pd)
{ {
// As all the objects in the cache have the factory as parent, there's no need to unparent them // As all the objects in the cache have the factory as parent, there's no need to unparent them
@ -186,7 +186,7 @@ _efl_ui_caching_factory_app_get(Eo *obj)
} }
static void static void
_efl_ui_caching_factory_pause(void *data, const Efl_Event *event) _efl_ui_caching_factory_pause(void *data, const Efl_Event *event EINA_UNUSED)
{ {
Efl_Ui_Caching_Factory_Data *pd = data; Efl_Ui_Caching_Factory_Data *pd = data;
Efl_Gfx_Entity *entity; Efl_Gfx_Entity *entity;

View File

@ -1341,7 +1341,7 @@ test_got_int(Eo *o EINA_UNUSED, void *data EINA_UNUSED, const Eina_Value value)
} }
static Eina_Value static Eina_Value
test_error_not_reached(Eo *o EINA_UNUSED, void *data EINA_UNUSED, Eina_Error error) test_error_not_reached(Eo *o EINA_UNUSED, void *data EINA_UNUSED, Eina_Error error EINA_UNUSED)
{ {
abort(); abort();

View File

@ -214,7 +214,7 @@ _efl_test_model_view_child_get(Eo *obj EINA_UNUSED,
static Eina_Value static Eina_Value
_efl_test_model_view_child_fetch(Eo *mv, _efl_test_model_view_child_fetch(Eo *mv,
void *data EINA_UNUSED, void *data EINA_UNUSED,
const Eina_Value v) const Eina_Value v EINA_UNUSED)
{ {
Eina_Future *r; Eina_Future *r;

View File

@ -95,7 +95,6 @@ _children_added_cb(void *d EINA_UNUSED, const Efl_Event* event)
EFL_START_TEST(eio_model_test_test_monitor_add) EFL_START_TEST(eio_model_test_test_monitor_add)
{ {
Eo *filemodel = NULL; Eo *filemodel = NULL;
Eina_Future* future;
tmpdir = eina_environment_tmp_get(); tmpdir = eina_environment_tmp_get();