jihoon pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=a0a7af5caa1955c8368a35f7577dca0bd6266e8c
commit a0a7af5caa1955c8368a35f7577dca0bd6266e8c Author: Jihoon Kim <jihoon48....@samsung.com> Date: Tue Jul 22 11:05:02 2014 +0900 tests: fix shadow variable build warning elm_test_clock.c:15:23: warning: declaration of ‘clock’ shadows a global declaration [-Wshadow] elm_test_index.c:15:23: warning: declaration of ‘index’ shadows a global declaration [-Wshadow] --- src/tests/elm_test_clock.c | 6 +++--- src/tests/elm_test_index.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/tests/elm_test_clock.c b/src/tests/elm_test_clock.c index 1eca436..4a7a602 100644 --- a/src/tests/elm_test_clock.c +++ b/src/tests/elm_test_clock.c @@ -12,14 +12,14 @@ START_TEST (elm_atspi_role_get) { - Evas_Object *win, *clock; + Evas_Object *win, *clk; Elm_Atspi_Role role; elm_init(1, NULL); win = elm_win_add(NULL, "clock", ELM_WIN_BASIC); - clock = elm_clock_add(win); - eo_do(clock, role = elm_interface_atspi_accessible_role_get()); + clk = elm_clock_add(win); + eo_do(clk, role = elm_interface_atspi_accessible_role_get()); ck_assert(role == ELM_ATSPI_ROLE_TEXT); diff --git a/src/tests/elm_test_index.c b/src/tests/elm_test_index.c index 17c240e..ad0655a 100644 --- a/src/tests/elm_test_index.c +++ b/src/tests/elm_test_index.c @@ -12,14 +12,14 @@ START_TEST (elm_atspi_role_get) { - Evas_Object *win, *index; + Evas_Object *win, *idx; Elm_Atspi_Role role; elm_init(1, NULL); win = elm_win_add(NULL, "index", ELM_WIN_BASIC); - index = elm_index_add(win); - eo_do(index, role = elm_interface_atspi_accessible_role_get()); + idx = elm_index_add(win); + eo_do(idx, role = elm_interface_atspi_accessible_role_get()); ck_assert(role == ELM_ATSPI_ROLE_LIST); --