summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-09-19 20:38:12 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-09-19 20:38:12 +0100
commitf3fdcf56923c8a2ca126e14d915e6386c7c4ff7e (patch)
tree922515b700201d6ec10faea007bfd38bffb6f84c /src/lib
parentf76d925318f8e974957d9702a9164889ab968131 (diff)
elm - collection view - check return and fix coverity wanring
fix CID 1405808
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elementary/efl_ui_collection_view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_collection_view.c b/src/lib/elementary/efl_ui_collection_view.c
index 7eb6fe42d1..1a7f0079e0 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
1013 sizes = memory.mem; 1013 sizes = memory.mem;
1014 //count = efl_model_children_count_get(parent); 1014 //count = efl_model_children_count_get(parent);
1015 limit = conf.range.end_id - conf.range.start_id; 1015 limit = conf.range.end_id - conf.range.start_id;
1016 ITEM_BASE_SIZE_FROM_MODEL(parent, item_base); 1016 if (!ITEM_BASE_SIZE_FROM_MODEL(parent, item_base)) return result;
1017 1017
1018 // Look in the temporary cache now for the beginning of the buffer 1018 // Look in the temporary cache now for the beginning of the buffer
1019#ifdef VIEWPORT_ENABLE 1019#ifdef VIEWPORT_ENABLE