focus: Fix shadow warning
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 31 Aug 2017 07:28:42 +0000 (16:28 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 1 Sep 2017 01:09:37 +0000 (10:09 +0900)
src/lib/elementary/efl_ui_focus_manager_calc.c

index effd445..7c5d25c 100644 (file)
@@ -1234,7 +1234,7 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_focus_set(Eo *obj, Efl_Ui_Focus_
 
    if (node->type == NODE_TYPE_NORMAL)
      {
-        Eo *focusable;
+        Eo *node_focusable;
         //check if this is already the focused object
         old_focus = eina_list_last_data_get(pd->focus_stack);
 
@@ -1246,12 +1246,12 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_focus_set(Eo *obj, Efl_Ui_Focus_
         pd->focus_stack = eina_list_append(pd->focus_stack, node);
 
         //save fields we later need
-        focusable = node->focusable;
+        node_focusable = node->focusable;
 
         //populate the new change
         if (old_focus) efl_ui_focus_object_focus_set(old_focus->focusable, EINA_FALSE);
         efl_ui_focus_object_focus_set(node->focusable, EINA_TRUE);
-        efl_event_callback_call(obj, EFL_UI_FOCUS_MANAGER_EVENT_FOCUSED, focusable);
+        efl_event_callback_call(obj, EFL_UI_FOCUS_MANAGER_EVENT_FOCUSED, node_focusable);
         node = NULL;
      }