summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-stacking.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/evas/evas-stacking.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/evas/evas-stacking.c')
-rw-r--r--src/examples/evas/evas-stacking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/evas/evas-stacking.c b/src/examples/evas/evas-stacking.c
index 148393f..444e2b2 100644
--- a/src/examples/evas/evas-stacking.c
+++ b/src/examples/evas/evas-stacking.c
@@ -93,7 +93,7 @@ _on_keydown(void *data EINA_UNUSED,
93 93
94 if (strcmp(ev->key, "h") == 0) /* print help */ 94 if (strcmp(ev->key, "h") == 0) /* print help */
95 { 95 {
96 printf(commands); 96 printf("%s\n", commands);
97 return; 97 return;
98 } 98 }
99 99
@@ -322,7 +322,7 @@ main(void)
322 evas_object_event_callback_add( 322 evas_object_event_callback_add(
323 d.rects[0], EVAS_CALLBACK_MOUSE_DOWN, _on_mouse_down, NULL); 323 d.rects[0], EVAS_CALLBACK_MOUSE_DOWN, _on_mouse_down, NULL);
324 324
325 printf(commands); 325 printf("%s\n", commands);
326 ecore_main_loop_begin(); 326 ecore_main_loop_begin();
327 327
328 ecore_evas_shutdown(); 328 ecore_evas_shutdown();