From 0a5a07278ec995938772a2b87526eb571c9c5d36 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Sat, 8 Jan 2022 13:57:58 +0100 Subject: [PATCH] chore(slider): fix warning --- src/widgets/lv_slider.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/widgets/lv_slider.c b/src/widgets/lv_slider.c index 46c02a106..82f6feea3 100644 --- a/src/widgets/lv_slider.c +++ b/src/widgets/lv_slider.c @@ -119,7 +119,6 @@ static void lv_slider_event(const lv_obj_class_t * class_p, lv_event_t * e) /*There's still a chance that there is a hit if there is another knob*/ if((info->res == false) && (type == LV_SLIDER_MODE_RANGE)) { - lv_area_t a; lv_area_copy(&a, &slider->left_knob_area); lv_area_increase(&a, ext_click_area, ext_click_area); info->res = _lv_area_is_point_on(&a, info->point, 0);