summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-05-03 16:13:30 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-05-03 16:13:30 -0400
commitda13878cc2282c86151ad9be95c656b7eb36fe82 (patch)
tree9eba3f2c573e2acf89ff9689b264896f01c9a27c
parentf58bdbf23ae90caf0baf1e0c0d8ea2eb9390cad3 (diff)
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
-rw-r--r--src/lib/elementary/efl_ui_focus_manager_calc.c3
1 files changed, 1 insertions, 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)
205 for(int i = EFL_UI_FOCUS_DIRECTION_UP; i < EFL_UI_FOCUS_DIRECTION_LAST; i++) 205 for(int i = EFL_UI_FOCUS_DIRECTION_UP; i < EFL_UI_FOCUS_DIRECTION_LAST; i++)
206 { 206 {
207 Node *partner; 207 Node *partner;
208 Eina_List *n;
209 208
210#define MAKE_LIST_DIRTY(node, field) \ 209#define MAKE_LIST_DIRTY(node, field) \
211 EINA_LIST_FOREACH(DIRECTION_ACCESS(node, i).field, n, partner) \ 210 EINA_LIST_FOREACH(DIRECTION_ACCESS(node, i).field, l, partner) \
212 { \ 211 { \
213 dirty_add(obj, pd, partner); \ 212 dirty_add(obj, pd, partner); \
214 } 213 }