summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-05-29 09:31:58 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-29 12:29:04 -0400
commit3cafd53212497bf31dfa64b9dcf681f86404123f (patch)
tree0301c99d7e95229d4a0937fca8e788eaf22dffa2
parent68e299c17e55409cf43f252439837ed9b1aa26c8 (diff)
tests/genlist: fix some shadowed variable warnings
Summary: Depends on D9006 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9007
-rw-r--r--src/tests/elementary/elm_test_genlist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/elementary/elm_test_genlist.c b/src/tests/elementary/elm_test_genlist.c
index 3c9c190f94..6532877926 100644
--- a/src/tests/elementary/elm_test_genlist.c
+++ b/src/tests/elementary/elm_test_genlist.c
@@ -137,7 +137,7 @@ _item_content_get(void *data EINA_UNUSED, Evas_Object *obj, const char *part EIN
137EFL_START_TEST(elm_genlist_test_item_content) 137EFL_START_TEST(elm_genlist_test_item_content)
138{ 138{
139 Elm_Genlist_Item_Class *gtc; 139 Elm_Genlist_Item_Class *gtc;
140 Evas_Object *content, *parent; 140 Evas_Object *end, *parent;
141 Elm_Object_Item *it; 141 Elm_Object_Item *it;
142 142
143 gtc = elm_genlist_item_class_new(); 143 gtc = elm_genlist_item_class_new();
@@ -161,12 +161,12 @@ EFL_START_TEST(elm_genlist_test_item_content)
161 161
162 ecore_main_loop_begin(); 162 ecore_main_loop_begin();
163 163
164 content = elm_object_item_part_content_get(it, "elm.swallow.end"); 164 end = elm_object_item_part_content_get(it, "elm.swallow.end");
165 parent = elm_object_parent_widget_get(content); 165 parent = elm_object_parent_widget_get(end);
166 ck_assert_ptr_eq(parent, genlist); 166 ck_assert_ptr_eq(parent, genlist);
167 167
168 elm_genlist_item_all_contents_unset(it, NULL); 168 elm_genlist_item_all_contents_unset(it, NULL);
169 parent = elm_object_parent_widget_get(content); 169 parent = elm_object_parent_widget_get(end);
170 ck_assert_ptr_eq(parent, win); 170 ck_assert_ptr_eq(parent, win);
171} 171}
172EFL_END_TEST 172EFL_END_TEST