diff --git a/legacy/elementary/src/bin/test_genlist.c b/legacy/elementary/src/bin/test_genlist.c index 1b349e7386..448e4177cf 100644 --- a/legacy/elementary/src/bin/test_genlist.c +++ b/legacy/elementary/src/bin/test_genlist.c @@ -4651,14 +4651,13 @@ test_genlist_focus(void *data EINA_UNUSED, for (rhand = 0; rhand < _gl_focus_objects; rhand++) { unsigned digit1 = lhand * 10 + rhand; - it = elm_genlist_item_append(gl, itc1, (void*)(uintptr_t)digit1, - NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL); + elm_genlist_item_append(gl, itc1, (void*)(uintptr_t)digit1, + NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL); unsigned digit2 = (_gl_focus_objects - lhand -1) * 10 + (_gl_focus_objects - rhand -1); it = elm_genlist_item_append(gl, itc1, (void*)(uintptr_t)digit2, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL); - if (!it_2) it_2 = it; if (rhand == 4) elm_object_item_disabled_set(it, EINA_TRUE);