focus: Fix shadow variable warning
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 21 Apr 2017 05:52:30 +0000 (14:52 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 21 Apr 2017 05:58:02 +0000 (14:58 +0900)
src/lib/elementary/efl_ui_focus_manager.c

index abed31ad966eff9c5e5296a91f8e18057dd60c70..fb431a7dbd7e67bbf52d3a1580b4f28bb1dfe8c8 100644 (file)
@@ -930,10 +930,10 @@ static Node*
 _coords_movement(Efl_Ui_Focus_Manager_Data *pd, Node *upper, Efl_Ui_Focus_Direction direction)
 {
    Node *candidate;
-   Eina_List *node;
+   Eina_List *node_list;
 
    //we are searcing which of the partners is lower to the history
-   EINA_LIST_REVERSE_FOREACH(pd->focus_stack, node, candidate)
+   EINA_LIST_REVERSE_FOREACH(pd->focus_stack, node_list, candidate)
      {
         if (eina_list_data_find(G(upper).directions[direction].partners, candidate))
           {