zmike pushed a commit to branch efl-1.22. http://git.enlightenment.org/core/efl.git/commit/?id=45ce93259332ccddffbb73cd24f21c09a49a547c
commit 45ce93259332ccddffbb73cd24f21c09a49a547c Author: Mike Blumenkrantz <[email protected]> Date: Wed May 29 09:31:58 2019 -0400 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 --- src/tests/elementary/elm_test_genlist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tests/elementary/elm_test_genlist.c b/src/tests/elementary/elm_test_genlist.c index 430e2050c6..32ef040ebe 100644 --- a/src/tests/elementary/elm_test_genlist.c +++ b/src/tests/elementary/elm_test_genlist.c @@ -139,7 +139,7 @@ _item_content_get(void *data EINA_UNUSED, Evas_Object *obj, const char *part EIN EFL_START_TEST(elm_genlist_test_item_content) { Elm_Genlist_Item_Class *gtc; - Evas_Object *content, *parent; + Evas_Object *end, *parent; Elm_Object_Item *it; gtc = elm_genlist_item_class_new(); @@ -163,12 +163,12 @@ EFL_START_TEST(elm_genlist_test_item_content) ecore_main_loop_begin(); - content = elm_object_item_part_content_get(it, "elm.swallow.end"); - parent = elm_object_parent_widget_get(content); + end = elm_object_item_part_content_get(it, "elm.swallow.end"); + parent = elm_object_parent_widget_get(end); ck_assert_ptr_eq(parent, genlist); elm_genlist_item_all_contents_unset(it, NULL); - parent = elm_object_parent_widget_get(content); + parent = elm_object_parent_widget_get(end); ck_assert_ptr_eq(parent, win); } EFL_END_TEST --
