fix(draw) ensure variable is initialized to avoid warning

Fixes #3365
This commit is contained in:
embeddedt
2022-05-18 08:53:35 -04:00
committed by GitHub
parent 22854ff3fb
commit 276f28a8a2
+1 -1
View File
@@ -202,7 +202,7 @@ LV_ATTRIBUTE_FAST_MEM void lv_draw_label(lv_draw_ctx_t * draw_ctx, const lv_draw
cmd_state_t cmd_state = CMD_STATE_WAIT;
uint32_t i;
uint32_t par_start = 0;
lv_color_t recolor;
lv_color_t recolor = lv_color_black();
lv_color_t color = lv_color_black();
int32_t letter_w;