cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f5a5609c277504692590117228474ddd657606ac

commit f5a5609c277504692590117228474ddd657606ac
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Thu Jan 11 11:21:00 2018 -0800

    Revert "efl-loop: Don't use 'main' as a variable name"
    
    This reverts commit 214dbdbd590a8f3fd9a0f3d5ef975d6ff9ce0e43.
---
 src/lib/ecore/efl_loop.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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);
 }
 

-- 


Reply via email to