devilhorns pushed a commit to branch master.

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

commit faf6041ca79d795d96b5d7ea00aa18aafff96fe8
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Jun 7 13:33:17 2017 -0400

    evas-gl-drm: Be sure to initialize ncfg variable
    
    This could lead to an uninitialized variable or use of ncfg variable
    without a value.
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/evas/engines/gl_drm/evas_outbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/gl_drm/evas_outbuf.c 
b/src/modules/evas/engines/gl_drm/evas_outbuf.c
index 4606c08b36..4a1144cf9a 100644
--- a/src/modules/evas/engines/gl_drm/evas_outbuf.c
+++ b/src/modules/evas/engines/gl_drm/evas_outbuf.c
@@ -187,7 +187,7 @@ _evas_outbuf_egl_setup(Outbuf *ob)
    int ctx_attr[3];
    int cfg_attr[40];
    int maj = 0, min = 0, n = 0, i = 0;
-   EGLint ncfg;
+   EGLint ncfg = 0;
    EGLConfig *cfgs;
    const GLubyte *vendor, *renderer, *version, *glslversion;
    Eina_Bool blacklist = EINA_FALSE;

-- 


Reply via email to