From b535aefaad9396c359b0401ff5ce1dc2b7870e1b Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 7 Feb 2017 13:15:12 -0500 Subject: [PATCH] wl_drm: Fix potentially uninitialized variable Signed-off-by: Chris Michael --- 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 a857eb723..be44fef09 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;