From 46e960397db917677391019b05190e4aa830e0b6 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 28 Aug 2014 12:22:09 -0400 Subject: [PATCH] fix unused variable if building for wayland-only Signed-off-by: Chris Michael --- src/bin/e_backlight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_backlight.c b/src/bin/e_backlight.c index 9a20852a1..7002c9bf5 100644 --- a/src/bin/e_backlight.c +++ b/src/bin/e_backlight.c @@ -202,8 +202,8 @@ e_backlight_devices_get(void) static void _e_backlight_update(E_Zone *zone) { - double x_bl = -1.0; #ifndef HAVE_WAYLAND_ONLY + double x_bl = -1.0; Ecore_X_Window root; Ecore_X_Randr_Output *out; int i, num = 0;