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
This commit is contained in:
parent
33c00de365
commit
436c5b8523
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue