forked from enlightenment/efl
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
This commit is contained in:
parent
f58bdbf23a
commit
da13878cc2
|
@ -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); \
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue