summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-06-06 15:16:36 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-06-06 15:43:15 +0200
commit68a0ec70d76c02567fe0effc327c4c1fa6ab33c5 (patch)
tree2b98983a11ea67225478de71b7100c53af50cbf3 /src/examples
parentc840162f0967d6c9c255d1b21ea092826f197685 (diff)
examples: eio: mark unused parameter as such
Really shutting up warnings here to see what else the compiler has to say.
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/eio/eio_job_ls.c4
-rw-r--r--src/examples/eio/eio_sentry.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/eio/eio_job_ls.c b/src/examples/eio/eio_job_ls.c
index 9426c23..2054f22 100644
--- a/src/examples/eio/eio_job_ls.c
+++ b/src/examples/eio/eio_job_ls.c
@@ -28,7 +28,7 @@ void error_cb(void *data, Eina_Error error)
28 eo_unref(job); 28 eo_unref(job);
29} 29}
30 30
31void filter_cb(void *data, const Eo_Event *event) 31void filter_cb(void *data EINA_UNUSED, const Eo_Event *event)
32{ 32{
33 Eio_Filter_Name_Data *event_info = event->info; 33 Eio_Filter_Name_Data *event_info = event->info;
34 static Eina_Bool should_filter = EINA_FALSE; 34 static Eina_Bool should_filter = EINA_FALSE;
@@ -40,7 +40,7 @@ void filter_cb(void *data, const Eo_Event *event)
40} 40}
41 41
42// Progress used to be the "Eio_Main_Cb" family of callbacks in the legacy API. 42// Progress used to be the "Eio_Main_Cb" family of callbacks in the legacy API.
43void progress_cb(void *data, const char *filename) 43void progress_cb(void *data EINA_UNUSED, const char *filename)
44{ 44{
45 EINA_SAFETY_ON_NULL_RETURN(filename); 45 EINA_SAFETY_ON_NULL_RETURN(filename);
46 printf("%s listing filename: %s\n", __FUNCTION__, filename); 46 printf("%s listing filename: %s\n", __FUNCTION__, filename);
diff --git a/src/examples/eio/eio_sentry.c b/src/examples/eio/eio_sentry.c
index a6218a7..f48ee46 100644
--- a/src/examples/eio/eio_sentry.c
+++ b/src/examples/eio/eio_sentry.c
@@ -11,7 +11,7 @@
11#include <Ecore.h> 11#include <Ecore.h>
12 12
13Eina_Bool 13Eina_Bool
14sentry_cb(void *data, const Eo_Event *event) 14sentry_cb(void *data EINA_UNUSED, const Eo_Event *event)
15{ 15{
16 Eio_Sentry_Event *event_info = event->info; 16 Eio_Sentry_Event *event_info = event->info;
17 17