raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=489404c7850a72129068b7a52df36b4fd6e12ee3
commit 489404c7850a72129068b7a52df36b4fd6e12ee3 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Fri Aug 22 20:10:53 2014 +0900 evas gl x11 - fix structurally dead code fix previous "shut up unused params warnings code bits and use EINA_UNUSED. fixes CID 1039495 --- src/modules/evas/engines/gl_x11/evas_engine.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c index 9931e21..bea8b68 100644 --- a/src/modules/evas/engines/gl_x11/evas_engine.c +++ b/src/modules/evas/engines/gl_x11/evas_engine.c @@ -1273,7 +1273,7 @@ struct _Native //#define GLX_TEX_PIXMAP_RECREATE 1 static void -_native_bind_cb(void *data, void *image) +_native_bind_cb(void *data EINA_UNUSED, void *image) { Evas_GL_Image *im = image; Native *n = im->native.data; @@ -1312,12 +1312,10 @@ _native_bind_cb(void *data, void *image) glBindTexture(GL_TEXTURE_2D, n->ns.data.opengl.texture_id); GLERR(__FUNCTION__, __FILE__, __LINE__, ""); } - return; - (void *) (data = NULL); } static void -_native_unbind_cb(void *data, void *image) +_native_unbind_cb(void *data EINA_UNUSED, void *image) { Evas_GL_Image *im = image; Native *n = im->native.data; @@ -1346,8 +1344,6 @@ _native_unbind_cb(void *data, void *image) glBindTexture(GL_TEXTURE_2D, 0); GLERR(__FUNCTION__, __FILE__, __LINE__, ""); } - return; - (void *) (data = NULL); } static void --
