devilhorns pushed a commit to branch master.

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

commit c5ad11886ca48ba9cc08f09383ce7ca23bfd695a
Author: Chris Michael <[email protected]>
Date:   Wed Jan 4 08:30:53 2017 -0500

    fix shadowed variable declaration
    
    Eina_List *l is already previously defined at the top of this
    function. Since we are just using it for list iteration, there is no
    need to define it again.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_comp_wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 5655d52..d7746a0 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -723,7 +723,7 @@ _e_comp_wl_evas_cb_restack(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EIN
      {
         if (ec->stack.ignore == 0)
           {
-             Eina_List *l, *list = e_client_stack_list_prepare(ec);
+             Eina_List *list = e_client_stack_list_prepare(ec);
              E_Client *child;
 
              EINA_LIST_FOREACH(list, l, child)

-- 


Reply via email to