mirror of
https://github.com/lvgl/lvgl.git
synced 2025-02-04 07:13:00 +08:00
fix(gradient): remove invalid decision branches (#3226)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
parent
931207683d
commit
2c70665674
@ -86,8 +86,6 @@ static lv_grad_t * next_in_cache(lv_grad_t * item)
|
|||||||
|
|
||||||
if(item == NULL)
|
if(item == NULL)
|
||||||
return (lv_grad_t *)LV_GC_ROOT(_lv_grad_cache_mem);
|
return (lv_grad_t *)LV_GC_ROOT(_lv_grad_cache_mem);
|
||||||
if(item == NULL)
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
size_t s = get_cache_item_size(item);
|
size_t s = get_cache_item_size(item);
|
||||||
/*Compute the size for this cache item*/
|
/*Compute the size for this cache item*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user