Fix xbl_avail variable being used when it could be undefined

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
Chris Michael 2015-12-28 14:30:56 -05:00
parent 14fdd71765
commit 8554024cba
1 changed files with 2 additions and 0 deletions

View File

@ -254,7 +254,9 @@ _e_backlight_update(void)
if (bl_sysval)
{
sysmode = MODE_SYS;
#ifndef HAVE_WAYLAND_ONLY
xbl_avail = EINA_FALSE;
#endif
_bl_sys_level_get();
return;
}