devilhorns pushed a commit to branch master.

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

commit b1d831c5525e47a849fcfaa361dc510567849d5c
Author: Chris Michael <[email protected]>
Date:   Wed Sep 20 06:26:05 2017 -0400

    evas-drm: Fix uninitialized variables
    
    Small patch to fix Coverity reported issues of uninitialized variables
    
    Fixes CID1381306, CID1381305, CID1381304, CID1381303
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/evas/engines/drm/evas_outbuf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/evas/engines/drm/evas_outbuf.c 
b/src/modules/evas/engines/drm/evas_outbuf.c
index f78d8e1658..987ff298e1 100644
--- a/src/modules/evas/engines/drm/evas_outbuf.c
+++ b/src/modules/evas/engines/drm/evas_outbuf.c
@@ -63,7 +63,7 @@ _outbuf_setup(Evas_Engine_Info_Drm *info, int w, int h)
 {
    Outbuf *ob;
    char *num;
-   int i = 0, fw, fh;
+   int i = 0, fw = 0, fh = 0;
 
    ob = calloc(1, sizeof(Outbuf));
    if (!ob) return NULL;
@@ -159,7 +159,7 @@ _outbuf_rotation_get(Outbuf *ob)
 void
 _outbuf_reconfigure(Outbuf *ob, int w, int h, int rotation, Outbuf_Depth depth)
 {
-   int i = 0, fw, fh;
+   int i = 0, fw = 0, fh = 0;
    unsigned int format = DRM_FORMAT_ARGB8888;
 
    switch (depth)

-- 


Reply via email to