diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-04-20 15:33:59 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-04-20 17:44:57 +0900 |
commit | bcf3ce84289ad4c91e89d6f5c3c9167af60036f3 (patch) | |
tree | d22ab98afccd2f5570aec74fd7957547c2011025 /src/examples/elementary/efl_thread_6.c | |
parent | a71b770bbc848bff2231bac1e75bf2a85885aca5 (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/efl_thread_6.c')
-rw-r--r-- | src/examples/elementary/efl_thread_6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/elementary/efl_thread_6.c b/src/examples/elementary/efl_thread_6.c index 2ad5af7..77a2f9c 100644 --- a/src/examples/elementary/efl_thread_6.c +++ b/src/examples/elementary/efl_thread_6.c | |||
@@ -89,7 +89,7 @@ th_end(void *data, Ecore_Thread *th) | |||
89 | } | 89 | } |
90 | 90 | ||
91 | static void // if the thread is cancelled - free pix, keep obj tho | 91 | static void // if the thread is cancelled - free pix, keep obj tho |
92 | th_cancel(void *data, Ecore_Thread *th) | 92 | th_cancel(void *data, Ecore_Thread *th EINA_UNUSED) |
93 | { | 93 | { |
94 | struct info *inf = data; | 94 | struct info *inf = data; |
95 | 95 | ||
@@ -122,7 +122,7 @@ anim(void *data) | |||
122 | } | 122 | } |
123 | 123 | ||
124 | EAPI_MAIN int | 124 | EAPI_MAIN int |
125 | elm_main(int argc, char **argv) | 125 | elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED) |
126 | { | 126 | { |
127 | Evas_Object *o; | 127 | Evas_Object *o; |
128 | Ecore_Thread *th; | 128 | Ecore_Thread *th; |