From 18f5337fa34983145d6aea3e200b08c2c35a7426 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 28 Aug 2014 12:33:10 -0400 Subject: [PATCH] fixed backlight compiler warnings when building for wayland-only Signed-off-by: Chris Michael --- src/bin/e_backlight.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/e_backlight.c b/src/bin/e_backlight.c index 7002c9bf5..137e144b0 100644 --- a/src/bin/e_backlight.c +++ b/src/bin/e_backlight.c @@ -245,6 +245,8 @@ _e_backlight_update(E_Zone *zone) sysmode = MODE_RANDR; return; } +#else + (void)zone; #endif #ifdef HAVE_EEZE _bl_sys_find(); @@ -263,6 +265,8 @@ _e_backlight_set(E_Zone *zone, double val) #ifdef HAVE_WAYLAND_ONLY if (0) { + (void)zone; + (void)val; return; } #else