summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-12-07 12:24:00 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2018-12-07 12:28:00 +0100
commit436c5b85232a2e5326db96d4cacedfe3b73c664f (patch)
tree81f89cc39282db4fbcebd72924df8ddb025a3e47 /src/lib/ecore
parent33c00de365ab8ed2adebd86e5e3dc6091afc0fa9 (diff)
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
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/efl_exe.c3
1 files changed, 1 insertions, 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)
486 _ecore_signal_pid_unlock(); 486 _ecore_signal_pid_unlock();
487 pd->run = EINA_TRUE; 487 pd->run = EINA_TRUE;
488 pd->promise = efl_loop_promise_new(obj, _run_cancel_cb, obj); 488 pd->promise = efl_loop_promise_new(obj, _run_cancel_cb, obj);
489 Eina_Future *f = eina_future_new(pd->promise); 489 return efl_future_then(obj, eina_future_new(pd->promise));
490 return efl_future_then(obj, f);
491 } 490 }
492 // this code is in the child here, and is temporary setup until we 491 // this code is in the child here, and is temporary setup until we
493 // exec() the child to replace everything. 492 // exec() the child to replace everything.