rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=a6836697b0d8a48361ea0314edc3f40e48df3419

commit a6836697b0d8a48361ea0314edc3f40e48df3419
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Mon Mar 21 09:22:00 2016 +0200

    demo_group: delete hard assert
    
    The func 'eina_list_next" can return NULL, in case, when the list is
    ended. So if we try to get data from NULL, we get NULL. The assert not
    needed here.
    
    Fixes: T3323
    
    Change-Id: Ic15ddb575d5f2d08868cb61947b523806bc08167
---
 src/bin/ui/workspace/demo_group.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/bin/ui/workspace/demo_group.c 
b/src/bin/ui/workspace/demo_group.c
index 97da5a7..ff39ff9 100644
--- a/src/bin/ui/workspace/demo_group.c
+++ b/src/bin/ui/workspace/demo_group.c
@@ -373,7 +373,6 @@ _part_renamed(void *data,
         part_items = eina_list_next(part_items);
         part_item = eina_list_data_get(part_items);
         pr = elm_object_item_data_get(part_item);
-        assert(pr != NULL);
      }
    elm_genlist_item_update(part_item);
 }

-- 


Reply via email to