diff --git a/src/lib/ecore/efl_loop.c b/src/lib/ecore/efl_loop.c index 3c1d746aa3..d4adc7a607 100644 --- a/src/lib/ecore/efl_loop.c +++ b/src/lib/ecore/efl_loop.c @@ -779,10 +779,10 @@ efl_loop_promise_new(const Eo *obj, Eina_Promise_Cancel_Cb cancel_cb, const void EAPI Eina_Promise * efl_loop_main_promise_new(Eina_Promise_Cancel_Cb cancel_cb, const void *data) { - Efl_Loop *main_loop; + Efl_Loop *main; - main_loop = efl_loop_main_get(EFL_LOOP_CLASS); - return eina_promise_new(efl_loop_future_scheduler_get(main_loop), + main = efl_loop_main_get(EFL_LOOP_CLASS); + return eina_promise_new(efl_loop_future_scheduler_get(main), cancel_cb, data); }