xartigas pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=436c5b85232a2e5326db96d4cacedfe3b73c664f
commit 436c5b85232a2e5326db96d4cacedfe3b73c664f Author: Cedric BAIL <[email protected]> Date: Fri Dec 7 12:24:00 2018 +0100 ecore: remove unecessary intermediate variable. Summary: Depends on D7379 Reviewers: felipealmeida, segfaultxavi, vitor.sousa, SanghyeonLee, bu5hm4n Reviewed By: segfaultxavi, vitor.sousa Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7472 Differential Revision: https://phab.enlightenment.org/D7380 --- src/lib/ecore/efl_exe.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/ecore/efl_exe.c b/src/lib/ecore/efl_exe.c index eff0d246ad..254dd4c17a 100644 --- a/src/lib/ecore/efl_exe.c +++ b/src/lib/ecore/efl_exe.c @@ -486,8 +486,7 @@ _efl_exe_efl_task_run(Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) _ecore_signal_pid_unlock(); pd->run = EINA_TRUE; pd->promise = efl_loop_promise_new(obj, _run_cancel_cb, obj); - Eina_Future *f = eina_future_new(pd->promise); - return efl_future_then(obj, f); + return efl_future_then(obj, eina_future_new(pd->promise)); } // this code is in the child here, and is temporary setup until we // exec() the child to replace everything. --
