devilhorns pushed a commit to branch master.

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

commit b535aefaad9396c359b0401ff5ce1dc2b7870e1b
Author: Chris Michael <[email protected]>
Date:   Tue Feb 7 13:15:12 2017 -0500

    wl_drm: Fix potentially uninitialized variable
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/wl_drm/e_mod_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/wl_drm/e_mod_main.c b/src/modules/wl_drm/e_mod_main.c
index a857eb7..be44fef 100644
--- a/src/modules/wl_drm/e_mod_main.c
+++ b/src/modules/wl_drm/e_mod_main.c
@@ -624,7 +624,7 @@ _drm2_randr_apply(void)
         /* TODO: cannot support rotations until we support planes
          * and we cannot support planes until Atomic support is in */
 # if (EFL_VERSION_MAJOR > 1) || (EFL_VERSION_MINOR >= 18)
-        int orient;
+        int orient = 0;
 
         if (s->config.rotation == 0)
           orient = ECORE_DRM2_ROTATION_NORMAL;

-- 


Reply via email to