Revert "elm - collection view - check return and fix coverity wanring"
authorStefan Schmidt <stefan@datenfreihafen.org>
Mon, 21 Sep 2020 09:06:39 +0000 (11:06 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Mon, 21 Sep 2020 21:37:03 +0000 (06:37 +0900)
This reverts commit f3fdcf56923c8a2ca126e14d915e6386c7c4ff7e.

This commit leads to ninja test timeout. When returning result here the
future will never fire and we will keep spinning.

src/lib/elementary/efl_ui_collection_view.c

index db99495..d4ef5fe 100644 (file)
@@ -1013,7 +1013,7 @@ _batch_size_cb(void *data, Efl_Ui_Position_Manager_Size_Call_Config conf, Eina_R
    sizes = memory.mem;
    //count = efl_model_children_count_get(parent);
    limit = conf.range.end_id - conf.range.start_id;
-   if (!ITEM_BASE_SIZE_FROM_MODEL(parent, item_base)) return result;
+   ITEM_BASE_SIZE_FROM_MODEL(parent, item_base);
 
    // Look in the temporary cache now for the beginning of the buffer
 #ifdef VIEWPORT_ENABLE