1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

fix(gradient): remove invalid decision branches (#3226)

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
_VIFEXTech 2022-03-30 18:53:46 +08:00 committed by GitHub
parent 931207683d
commit 2c70665674
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,8 +86,6 @@ static lv_grad_t * next_in_cache(lv_grad_t * item)
if(item == NULL)
return (lv_grad_t *)LV_GC_ROOT(_lv_grad_cache_mem);
if(item == NULL)
return NULL;
size_t s = get_cache_item_size(item);
/*Compute the size for this cache item*/