summaryrefslogtreecommitdiff
path: root/src/examples/elementary/box_example_02.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/box_example_02.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/box_example_02.c')
-rw-r--r--src/examples/elementary/box_example_02.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/elementary/box_example_02.c b/src/examples/elementary/box_example_02.c
index 24c502d2b4..5e086b6b6d 100644
--- a/src/examples/elementary/box_example_02.c
+++ b/src/examples/elementary/box_example_02.c
@@ -11,7 +11,7 @@ typedef struct
11} Transitions_Data; 11} Transitions_Data;
12 12
13static void 13static void
14_add_cb(void *data, Evas_Object *obj, void *ev) 14_add_cb(void *data, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
15{ 15{
16 Evas_Object *btn; 16 Evas_Object *btn;
17 Eina_List *children; 17 Eina_List *children;
@@ -31,14 +31,14 @@ _add_cb(void *data, Evas_Object *obj, void *ev)
31} 31}
32 32
33static void 33static void
34_clear_cb(void *data, Evas_Object *obj, void *ev) 34_clear_cb(void *data, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
35{ 35{
36 Transitions_Data *tdata = data; 36 Transitions_Data *tdata = data;
37 elm_box_clear(tdata->box); 37 elm_box_clear(tdata->box);
38} 38}
39 39
40static void 40static void
41_unpack_cb(void *data, Evas_Object *obj, void *ev) 41_unpack_cb(void *data, Evas_Object *obj, void *ev EINA_UNUSED)
42{ 42{
43 Transitions_Data *tdata = data; 43 Transitions_Data *tdata = data;
44 elm_box_unpack(tdata->box, obj); 44 elm_box_unpack(tdata->box, obj);
@@ -67,7 +67,7 @@ _test_box_transition_change(void *data)
67} 67}
68 68
69EAPI_MAIN int 69EAPI_MAIN int
70elm_main(int argc, char *argv[]) 70elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
71{ 71{
72 Evas_Object *win, *bigbox, *bx, *bt; 72 Evas_Object *win, *bigbox, *bx, *bt;
73 static Transitions_Data tdata = { 73 static Transitions_Data tdata = {