forked from enlightenment/enlightenment
wl_drm: Fix potentially uninitialized variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
ed1d8ac971
commit
b535aefaad
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue