forked from enlightenment/efl
test_genlist: Remove unused value.
This fixes coverity CID 1258428.
This commit is contained in:
parent
14e79451c2
commit
e7726d8f01
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue