ecore: Fix shadow warning (with nodejs enabled)
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 23 Aug 2017 04:45:24 +0000 (13:45 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 23 Aug 2017 06:24:37 +0000 (15:24 +0900)
src/lib/ecore/ecore_main.c

index 8ca2c96..12e8cf4 100644 (file)
@@ -2157,8 +2157,8 @@ _ecore_main_loop_uv_prepare(uv_prepare_t* handle EINA_UNUSED)
    _efl_loop_timer_enable_new();
    if (_efl_loop_timers_exists() || t >= 0)
      {
-       double t1 = _efl_loop_timer_next_get();
-       if(t < 0 || (t1 >= 0 && t1 < t)) t = t1;
+       double tnext = _efl_loop_timer_next_get();
+       if (t < 0 || (tnext >= 0 && tnext < t)) t = tnext;
        DBG("Should awake after %f", t);
        
        if (t >= 0.0)