summaryrefslogtreecommitdiff
path: root/src/examples/elementary/button_example_00.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/button_example_00.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/button_example_00.c')
-rw-r--r--src/examples/elementary/button_example_00.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/examples/elementary/button_example_00.c b/src/examples/elementary/button_example_00.c
index 633232a915..7ac2df69e7 100644
--- a/src/examples/elementary/button_example_00.c
+++ b/src/examples/elementary/button_example_00.c
@@ -4,13 +4,14 @@
4#include <Elementary.h> 4#include <Elementary.h>
5 5
6static void 6static void
7on_click(void *data, Evas_Object *obj, void *event_info) 7on_click(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
8 void *event_info EINA_UNUSED)
8{ 9{
9 elm_exit(); 10 elm_exit();
10} 11}
11 12
12EAPI_MAIN int 13EAPI_MAIN int
13elm_main(int argc, char **argv) 14elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
14{ 15{
15 Evas_Object *win = NULL; 16 Evas_Object *win = NULL;
16 Evas_Object *btn = NULL; 17 Evas_Object *btn = NULL;