summaryrefslogtreecommitdiff
path: root/src/tests/elm_test_index.c
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2014-07-22 11:05:02 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2014-07-22 11:06:33 +0900
commita0a7af5caa1955c8368a35f7577dca0bd6266e8c (patch)
tree8eb711bd708df2df39d25a6623e6952aef59fdbb /src/tests/elm_test_index.c
parent5ef73c69a3de8e94689269199b061de59d5f440a (diff)
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]
Diffstat (limited to 'src/tests/elm_test_index.c')
-rw-r--r--src/tests/elm_test_index.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/elm_test_index.c b/src/tests/elm_test_index.c
index 17c240e09..ad0655a80 100644
--- a/src/tests/elm_test_index.c
+++ b/src/tests/elm_test_index.c
@@ -12,14 +12,14 @@
12 12
13START_TEST (elm_atspi_role_get) 13START_TEST (elm_atspi_role_get)
14{ 14{
15 Evas_Object *win, *index; 15 Evas_Object *win, *idx;
16 Elm_Atspi_Role role; 16 Elm_Atspi_Role role;
17 17
18 elm_init(1, NULL); 18 elm_init(1, NULL);
19 win = elm_win_add(NULL, "index", ELM_WIN_BASIC); 19 win = elm_win_add(NULL, "index", ELM_WIN_BASIC);
20 20
21 index = elm_index_add(win); 21 idx = elm_index_add(win);
22 eo_do(index, role = elm_interface_atspi_accessible_role_get()); 22 eo_do(idx, role = elm_interface_atspi_accessible_role_get());
23 23
24 ck_assert(role == ELM_ATSPI_ROLE_LIST); 24 ck_assert(role == ELM_ATSPI_ROLE_LIST);
25 25