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]
This commit is contained in:
Jihoon Kim 2014-07-22 11:05:02 +09:00
parent 3542247e89
commit ad04665d21
2 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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);