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.
This commit is contained in:
Stefan Schmidt 2013-03-26 08:47:54 +00:00
parent f254edbaed
commit d0483d3dde
1 changed files with 1 additions and 1 deletions

View File

@ -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;