wl_drm: Fix potentially uninitialized variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
devs/bu5hm4n/luncher_verbose
Chris Michael 6 years ago
parent ed1d8ac971
commit b535aefaad
  1. 2
      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;

Loading…
Cancel
Save