summaryrefslogtreecommitdiff
path: root/src/examples/elementary/bg_example_03.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/bg_example_03.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/bg_example_03.c')
-rw-r--r--src/examples/elementary/bg_example_03.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/elementary/bg_example_03.c b/src/examples/elementary/bg_example_03.c
index be44f2576d..5337d3426a 100644
--- a/src/examples/elementary/bg_example_03.c
+++ b/src/examples/elementary/bg_example_03.c
@@ -5,7 +5,7 @@
5#include <Elementary.h> 5#include <Elementary.h>
6 6
7static void 7static void
8_cb_radio_changed(void *data, Evas_Object *obj, void *event) 8_cb_radio_changed(void *data, Evas_Object *obj, void *event EINA_UNUSED)
9{ 9{
10 Evas_Object *o_bg = data; 10 Evas_Object *o_bg = data;
11 11
@@ -13,7 +13,7 @@ _cb_radio_changed(void *data, Evas_Object *obj, void *event)
13} 13}
14 14
15static void 15static void
16_cb_overlay_changed(void *data, Evas_Object *obj, void *event) 16_cb_overlay_changed(void *data, Evas_Object *obj, void *event EINA_UNUSED)
17{ 17{
18 Evas_Object *o_bg = data; 18 Evas_Object *o_bg = data;
19 19
@@ -33,7 +33,7 @@ _cb_overlay_changed(void *data, Evas_Object *obj, void *event)
33} 33}
34 34
35static void 35static void
36_cb_color_changed(void *data, Evas_Object *obj, void *event) 36_cb_color_changed(void *data, Evas_Object *obj, void *event EINA_UNUSED)
37{ 37{
38 Evas_Object *o_bg = data; 38 Evas_Object *o_bg = data;
39 double val = 0.0; 39 double val = 0.0;
@@ -50,7 +50,7 @@ _cb_color_changed(void *data, Evas_Object *obj, void *event)
50} 50}
51 51
52EAPI_MAIN int 52EAPI_MAIN int
53elm_main(int argc, char **argv) 53elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
54{ 54{
55 Evas_Object *win; 55 Evas_Object *win;
56 Evas_Object *box, *hbox, *o_bg; 56 Evas_Object *box, *hbox, *o_bg;