fixed backlight compiler warnings when building for wayland-only

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-08-28 12:33:10 -04:00
parent 8e4a45a40e
commit 18f5337fa3
1 changed files with 4 additions and 0 deletions

View File

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