forked from enlightenment/enlightenment
fixed backlight compiler warnings when building for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
8e4a45a40e
commit
18f5337fa3
|
@ -245,6 +245,8 @@ _e_backlight_update(E_Zone *zone)
|
||||||
sysmode = MODE_RANDR;
|
sysmode = MODE_RANDR;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
(void)zone;
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_EEZE
|
#ifdef HAVE_EEZE
|
||||||
_bl_sys_find();
|
_bl_sys_find();
|
||||||
|
@ -263,6 +265,8 @@ _e_backlight_set(E_Zone *zone, double val)
|
||||||
#ifdef HAVE_WAYLAND_ONLY
|
#ifdef HAVE_WAYLAND_ONLY
|
||||||
if (0)
|
if (0)
|
||||||
{
|
{
|
||||||
|
(void)zone;
|
||||||
|
(void)val;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue