aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-01-09 14:54:54 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-01-09 14:54:54 -0500
commitf5172faebbc8f2afa0c3a4b6178021137d58c3d1 (patch)
tree41be5a1979ea087e1e995f247d1836dc13377ff6
parentelementary: enable caching for Efl.Ui.LayoutFactory. (diff)
downloadefl-f5172faebbc8f2afa0c3a4b6178021137d58c3d1.tar.gz
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
-rw-r--r--src/lib/elementary/efl_ui_caching_factory.c14
-rw-r--r--src/tests/ecore/efl_app_test_promise.c2
-rw-r--r--src/tests/efl/efl_test_model_view.c2
-rw-r--r--src/tests/eio/eio_model_test_monitor_add.c1
4 files changed, 9 insertions, 10 deletions
diff --git a/src/lib/elementary/efl_ui_caching_factory.c b/src/lib/elementary/efl_ui_caching_factory.c
index fe69e4209d..b25d6ba829 100644
--- a/src/lib/elementary/efl_ui_caching_factory.c
+++ b/src/lib/elementary/efl_ui_caching_factory.c
@@ -104,14 +104,14 @@ _efl_ui_caching_factory_item_class_set(Eo *obj,
}
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)
{
return pd->klass;
}
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,
unsigned int limit)
{
@@ -121,14 +121,14 @@ _efl_ui_caching_factory_memory_limit_set(Eo *obj,
}
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)
{
return pd->limit.memory;
}
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,
unsigned int limit)
{
@@ -138,7 +138,7 @@ _efl_ui_caching_factory_items_limit_set(Eo *obj,
}
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)
{
return pd->limit.items;
@@ -166,7 +166,7 @@ _efl_ui_caching_factory_efl_ui_factory_release(Eo *obj,
}
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)
{
// 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
-_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_Gfx_Entity *entity;
diff --git a/src/tests/ecore/efl_app_test_promise.c b/src/tests/ecore/efl_app_test_promise.c
index 6f71881df3..610851045c 100644
--- a/src/tests/ecore/efl_app_test_promise.c
+++ b/src/tests/ecore/efl_app_test_promise.c
@@ -1341,7 +1341,7 @@ test_got_int(Eo *o EINA_UNUSED, void *data EINA_UNUSED, const Eina_Value 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();
diff --git a/src/tests/efl/efl_test_model_view.c b/src/tests/efl/efl_test_model_view.c
index 94d05d5331..fead57cae7 100644
--- a/src/tests/efl/efl_test_model_view.c
+++ b/src/tests/efl/efl_test_model_view.c
@@ -214,7 +214,7 @@ _efl_test_model_view_child_get(Eo *obj EINA_UNUSED,
static Eina_Value
_efl_test_model_view_child_fetch(Eo *mv,
void *data EINA_UNUSED,
- const Eina_Value v)
+ const Eina_Value v EINA_UNUSED)
{
Eina_Future *r;
diff --git a/src/tests/eio/eio_model_test_monitor_add.c b/src/tests/eio/eio_model_test_monitor_add.c
index b93ee1c7ad..fb1edbdd01 100644
--- a/src/tests/eio/eio_model_test_monitor_add.c
+++ b/src/tests/eio/eio_model_test_monitor_add.c
@@ -95,7 +95,6 @@ _children_added_cb(void *d EINA_UNUSED, const Efl_Event* event)
EFL_START_TEST(eio_model_test_test_monitor_add)
{
Eo *filemodel = NULL;
- Eina_Future* future;
tmpdir = eina_environment_tmp_get();