From 953753263ce0262ac0d51c531d8ec10d83658d1d Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 20 Aug 2020 07:06:18 +0200 Subject: [PATCH] fix warning --- src/lv_core/lv_style.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lv_core/lv_style.c b/src/lv_core/lv_style.c index 950275497..3a2ad6d80 100644 --- a/src/lv_core/lv_style.c +++ b/src/lv_core/lv_style.c @@ -875,7 +875,8 @@ lv_res_t _lv_style_list_get_color(lv_style_list_t * list, lv_style_property_t pr int16_t weight = -1; - lv_color_t value_act = { 0 }; + lv_color_t value_act; + value_act.full = 0; int16_t ci; for(ci = 0; ci < list->style_cnt; ci++) {