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

fix warnings

This commit is contained in:
Gabor Kiss-Vamosi 2020-12-10 11:18:30 +01:00
parent e90ce9d4b7
commit b04dea5971

View File

@ -659,6 +659,8 @@ static void draw_cleanup(lv_img_cache_entry_t * cache)
/*Automatically close images with no caching*/
#if LV_IMG_CACHE_DEF_SIZE == 0
lv_img_decoder_close(&cache->dec_dsc);
#else
LV_UNUSED(cache);
#endif
}