From 2aa5f67381fdb29e5be3ebbfcad7de467267f629 Mon Sep 17 00:00:00 2001 From: manison Date: Mon, 25 Feb 2019 09:26:27 +0100 Subject: [PATCH] remove unused variable --- lv_objx/lv_ta.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lv_objx/lv_ta.c b/lv_objx/lv_ta.c index 2465524a1..a5a50c99f 100644 --- a/lv_objx/lv_ta.c +++ b/lv_objx/lv_ta.c @@ -658,7 +658,6 @@ void lv_ta_set_text_align(lv_obj_t * ta, lv_label_align_t align) lv_page_set_scrl_fit2(ta, LV_FIT_FLOOD, LV_FIT_FLOOD); lv_label_set_align(label, align); - lv_style_t * bg_style = lv_ta_get_style(ta, LV_TA_STYLE_BG); lv_obj_set_width(label, lv_page_get_fit_width(ta)); } }