diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2013-03-26 08:47:54 +0000 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2013-03-26 09:36:09 +0000 |
commit | d0483d3ddeda965283c73fbd1903d0990ce77f79 (patch) | |
tree | 9a1d501432d032a42c8cc76b7d33dc3486f7393c | |
parent | f254edbaedb481d5893420572687e341f789f2bf (diff) | |
download | efl-d0483d3ddeda965283c73fbd1903d0990ce77f79.tar.gz |
evas_extn: Tag parameter as unused.
Maybe we should switch to use -Wno-unused-parameter in our default cflags?
I mean unused parameters are really common and I do not see their harm.
Using -Wno-unused-parameter would let us remove all the cluttered EINA_UNUSED
and __UNUSED__ and also be safe when a paramter gets is use later as the
compiler could optimize it out when tagged with unused. Still we would avoid
the warnings to find the important ones.
-rw-r--r-- | src/modules/ecore_evas/engines/extn/ecore_evas_extn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c b/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c index be47ed110f..66eec8c748 100644 --- a/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c +++ b/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c @@ -1425,7 +1425,7 @@ _ecore_evas_extn_socket_window_profile_change_done_send(Ecore_Evas *ee) } static void * -_ecore_evas_socket_switch(void *data, void *dest_buf) +_ecore_evas_socket_switch(void *data, void *dest_buf EINA_UNUSED) { Ecore_Evas *ee = data; Ecore_Evas_Engine_Buffer_Data *bdata = ee->engine.data; |