summaryrefslogtreecommitdiff
path: root/src/examples/elementary/slider_example.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-04-20 15:33:59 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-04-20 17:44:57 +0900
commitbcf3ce84289ad4c91e89d6f5c3c9167af60036f3 (patch)
treed22ab98afccd2f5570aec74fd7957547c2011025 /src/examples/elementary/slider_example.c
parenta71b770bbc848bff2231bac1e75bf2a85885aca5 (diff)
examples: Fix most trivial warnings
This fixes all warnings for "make examples" for: -Wunused-parameter -Wshadow -Wformat-security -Wenum-conversion Some remaining warnings include: -Wdeprecated-delcarations
Diffstat (limited to 'src/examples/elementary/slider_example.c')
-rw-r--r--src/examples/elementary/slider_example.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/elementary/slider_example.c b/src/examples/elementary/slider_example.c
index 53fdc922f7..31caf7c619 100644
--- a/src/examples/elementary/slider_example.c
+++ b/src/examples/elementary/slider_example.c
@@ -12,14 +12,14 @@
12#include <Elementary.h> 12#include <Elementary.h>
13 13
14static void 14static void
15_changed_cb(void *data, Evas_Object *obj, void *event_info) 15_changed_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
16{ 16{
17 double val = elm_slider_value_get(obj); 17 double val = elm_slider_value_get(obj);
18 printf("Changed to %1.2f\n", val); 18 printf("Changed to %1.2f\n", val);
19} 19}
20 20
21static void 21static void
22_delay_changed_cb(void *data, Evas_Object *obj, void *event_info) 22_delay_changed_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
23{ 23{
24 double val = elm_slider_value_get(obj); 24 double val = elm_slider_value_get(obj);
25 printf("Delay changed to %1.2f\n", val); 25 printf("Delay changed to %1.2f\n", val);
@@ -40,7 +40,7 @@ _indicator_free(char *str)
40} 40}
41 41
42EAPI_MAIN int 42EAPI_MAIN int
43elm_main(int argc, char **argv) 43elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
44{ 44{
45 Evas_Object *win, *bx, *sl, *ic; 45 Evas_Object *win, *bx, *sl, *ic;
46 46