devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a957f5a57f57b02eb2fe7a40fe9a91232a1c59ce

commit a957f5a57f57b02eb2fe7a40fe9a91232a1c59ce
Author: Chris Michael <cpmich...@osg.samsung.com>
Date:   Wed Jan 6 12:11:53 2016 -0500

    evas-wayland-egl: Remove unused variables and unused function
    
    Signed-off-by: Chris Michael <cpmich...@osg.samsung.com>
---
 src/modules/evas/engines/wayland_egl/evas_engine.c | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c 
b/src/modules/evas/engines/wayland_egl/evas_engine.c
index 0d6ad0d..44968b7 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -964,12 +964,11 @@ _native_cb_free(void *data, void *image)
 }
 
 static int
-_native_cb_yinvert(void *data, void *image)
+_native_cb_yinvert(void *data EINA_UNUSED, void *image)
 {
-   Render_Engine *re = data;
    Evas_GL_Image *im = image;
    Native *n = im->native.data;
-   int yinvert = 0, val;
+   int yinvert = 0;
 
    // Yinvert callback should only be used for EVAS_NATIVE_SURFACE_EVASGL type 
now,
    // as yinvert value is not changed for other types.
@@ -1325,18 +1324,6 @@ eng_image_native_set(void *data, void *image, void 
*native)
    return img;
 }
 
-static void *
-eng_image_native_get(void *data EINA_UNUSED, void *image)
-{
-   Evas_GL_Image *im = image;
-   Evas_Native_Surface *n;
-
-   if (!im) return NULL;
-   n = im->native.data;
-   if (!n) return NULL;
-   return n;
-}
-
 Eina_Bool
 eng_preload_make_current(void *data, void *doit)
 {

-- 


Reply via email to