discomfitor pushed a commit to branch master.

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

commit da13878cc2282c86151ad9be95c656b7eb36fe82
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu May 3 16:13:30 2018 -0400

    efl_ui_focus_manager_calc: resolve shadow warning
    
    Summary:
    lib/elementary/efl_ui_focus_manager_calc.c: In function ‘node_item_free’:
    lib/elementary/efl_ui_focus_manager_calc.c:208:20: warning: declaration of 
‘n’ shadows a previous local [-Wshadow]
             Eina_List *n;
                        ^
    lib/elementary/efl_ui_focus_manager_calc.c:197:10: note: shadowed 
declaration is here
        Node *n;
              ^
    
    Reviewers: bu5hm4n
    
    Reviewed By: bu5hm4n
    
    Subscribers: cedric, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D6020
---
 src/lib/elementary/efl_ui_focus_manager_calc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c 
b/src/lib/elementary/efl_ui_focus_manager_calc.c
index c60769468b..2360c266e4 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -205,10 +205,9 @@ node_item_free(Node *item)
    for(int i = EFL_UI_FOCUS_DIRECTION_UP; i < EFL_UI_FOCUS_DIRECTION_LAST; i++)
      {
         Node *partner;
-        Eina_List *n;
 
 #define MAKE_LIST_DIRTY(node, field) \
-        EINA_LIST_FOREACH(DIRECTION_ACCESS(node, i).field, n, partner) \
+        EINA_LIST_FOREACH(DIRECTION_ACCESS(node, i).field, l, partner) \
           { \
              dirty_add(obj, pd, partner); \
           }

-- 


Reply via email to