wl_drm: Fix potentially uninitialized variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2017-02-07 13:15:12 -05:00
parent ed1d8ac971
commit b535aefaad
1 changed files with 1 additions and 1 deletions

View File

@ -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;