From 432b9ecf1bb0dbb73caf7c90b2d678208b579715 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Mon, 31 May 2021 18:37:42 +0200 Subject: [PATCH] Fix compile warning --- src/hasp/lv_theme_hasp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hasp/lv_theme_hasp.c b/src/hasp/lv_theme_hasp.c index dcd8211e..27a48adb 100644 --- a/src/hasp/lv_theme_hasp.c +++ b/src/hasp/lv_theme_hasp.c @@ -226,8 +226,6 @@ static lv_style_int_t hasp_dpx(lv_style_int_t n) static void basic_init(lv_style_int_t border_width, lv_style_int_t outline_width, lv_color_t value_color, lv_color_t color_scr_text) { - sizeof(lv_style_t); - // Objects with transparent background, like Checkbox, container style_init_reset(&styles->transparent); lv_style_set_bg_opa(&styles->transparent, LV_STATE_DEFAULT, LV_OPA_TRANSP);