seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=2621c4124222f1b864b5ba074be9ebddd7b9c4a3
commit 2621c4124222f1b864b5ba074be9ebddd7b9c4a3 Author: Daniel Juyung Seo <seojuyu...@gmail.com> Date: Thu Jun 19 18:30:21 2014 +0900 entry: fixed shadow variable build warnings. --- src/lib/elm_entry.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index 858ed7c..b5fd8c9 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -4992,15 +4992,15 @@ EOLIAN static Eina_Unicode _elm_entry_elm_interface_atspi_text_character_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, int offset) { char *txt; - int index = 0; + int idx = 0; Eina_Unicode ret = 0; if (offset < 0) return ret; txt = _elm_util_mkup_to_text(elm_entry_entry_get(obj)); if (!txt) return ret; - ret = eina_unicode_utf8_next_get(txt, &index); - while (offset--) ret = eina_unicode_utf8_next_get(txt, &index); + ret = eina_unicode_utf8_next_get(txt, &idx); + while (offset--) ret = eina_unicode_utf8_next_get(txt, &idx); free(txt); @@ -5267,7 +5267,7 @@ _elm_entry_elm_interface_atspi_text_range_extents_get(Eo *obj, Elm_Entry_Data *_ Evas_Object *txtblk; Evas_Textblock_Cursor *cur1, *cur2; int ret; - int x1, x2, y1, y2; + int x, xx, y, yy; txtblk = elm_entry_textblock_get(obj); if (!txtblk) return EINA_FALSE; @@ -5285,18 +5285,18 @@ _elm_entry_elm_interface_atspi_text_range_extents_get(Eo *obj, Elm_Entry_Data *_ evas_textblock_cursor_pos_set(cur1, start_offset); evas_textblock_cursor_pos_set(cur2, end_offset); - ret = evas_textblock_cursor_char_geometry_get(cur1, &x1, &y1, NULL, NULL); - ret += evas_textblock_cursor_char_geometry_get(cur2, &x2, &y2, NULL, NULL); + ret = evas_textblock_cursor_char_geometry_get(cur1, &x, &y, NULL, NULL); + ret += evas_textblock_cursor_char_geometry_get(cur2, &xx, &yy, NULL, NULL); evas_textblock_cursor_free(cur1); evas_textblock_cursor_free(cur2); if (ret != 0) return EINA_FALSE; - rect->x = x1 < x2 ? x1 : x2; - rect->y = y1 < y2 ? y1 : y2; - rect->w = abs(x1 - x2); - rect->h = abs(y1 - y2); + rect->x = x < xx ? x : xx; + rect->y = y < yy ? y : yy; + rect->w = abs(x - xx); + rect->h = abs(y - yy); if (screen_coods) { --