From 0fc48900ee42bbabcc15c1398299f2a23d32ccf9 Mon Sep 17 00:00:00 2001 From: mike_m Date: Tue, 12 Jul 2011 11:56:24 +0000 Subject: [PATCH] ecore: Remove redundant variable Signed-off-by: Mike McCormack git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61281 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore/ecore_main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c index 350e17d..b291ac8 100644 --- a/src/lib/ecore/ecore_main.c +++ b/src/lib/ecore/ecore_main.c @@ -604,10 +604,7 @@ _ecore_main_gsource_check(GSource *source __UNUSED__) /* check timers after updating loop time */ _ecore_time_loop_time = ecore_time_get(); if (!ret && _ecore_timers_exists()) - { - double next_time = _ecore_timer_next_get(); - ret = _ecore_timers_exists() && (0.0 == next_time); - } + ret = (0.0 == _ecore_timer_next_get()); _ecore_timer_enable_new(); -- 2.7.4