devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=18f5337fa34983145d6aea3e200b08c2c35a7426

commit 18f5337fa34983145d6aea3e200b08c2c35a7426
Author: Chris Michael <[email protected]>
Date:   Thu Aug 28 12:33:10 2014 -0400

    fixed backlight compiler warnings when building for wayland-only
    
    Signed-off-by: Chris Michael <[email protected]>
---
 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 7002c9b..137e144 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

-- 


Reply via email to