devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=58cbf19c1019745c14d3b34fdfd853bc7139d976
commit 58cbf19c1019745c14d3b34fdfd853bc7139d976 Author: Chris Michael <[email protected]> Date: Fri Oct 3 13:30:48 2014 -0400 don't clear 'changed' variable unless we are going to use it. (fixes compiler warning when building for wayland-only) Signed-off-by: Chris Michael <[email protected]> --- src/bin/e_dpms.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/e_dpms.c b/src/bin/e_dpms.c index ec44392..a9e95eb 100644 --- a/src/bin/e_dpms.c +++ b/src/bin/e_dpms.c @@ -19,7 +19,9 @@ e_dpms_update(void) { unsigned int standby = 0, suspend = 0, off = 0; int enabled; +#ifndef HAVE_WAYLAND_ONLY Eina_Bool changed = EINA_FALSE; +#endif enabled = ((e_config->screensaver_enable) && (!e_config->mode.presentation) && --
