devilhorns pushed a commit to branch master.

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

commit 9a542d0dcc7450a235090a680444043fabcdd243
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Nov 17 16:07:14 2015 -0500

    evas-gl_drm: Remove set but unused variable
    
    Variable 'osurface' is not actually being used inside the code here,
    so remove it.
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/evas/engines/gl_drm/evas_outbuf.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/modules/evas/engines/gl_drm/evas_outbuf.c 
b/src/modules/evas/engines/gl_drm/evas_outbuf.c
index 8c93988..084e8d9 100644
--- a/src/modules/evas/engines/gl_drm/evas_outbuf.c
+++ b/src/modules/evas/engines/gl_drm/evas_outbuf.c
@@ -536,7 +536,6 @@ evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, 
Outbuf_Depth depth)
    Evas_Public_Data *epd;
    Evas_Engine_Info_GL_Drm *einfo;
    Render_Engine *re;
-   struct gbm_surface *osurface;
    Outbuf *nob;
 
    if (depth == OUTBUF_DEPTH_INHERIT) depth = ob->depth;
@@ -548,7 +547,6 @@ evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, 
Outbuf_Depth depth)
    EINA_SAFETY_ON_NULL_RETURN(re);
 
    einfo = ob->info;
-   osurface = ob->surface;
 
    if ((ob->rotation == 0) || (ob->rotation == 180))
      nob = evas_outbuf_new(einfo, w, h, ob->swap_mode);

-- 


Reply via email to