From: Stefan Schmidt Date: Mon, 21 Sep 2020 09:06:39 +0000 (+0200) Subject: Revert "elm - collection view - check return and fix coverity wanring" X-Git-Tag: accepted/tizen/unified/20200924.001846~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=323e8baef98cf3309ef503b76da3a6b069250190;p=platform%2Fupstream%2Fefl.git Revert "elm - collection view - check return and fix coverity wanring" 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. --- diff --git a/src/lib/elementary/efl_ui_collection_view.c b/src/lib/elementary/efl_ui_collection_view.c index db99495..d4ef5fe 100644 --- a/src/lib/elementary/efl_ui_collection_view.c +++ b/src/lib/elementary/efl_ui_collection_view.c @@ -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