1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

chore: fix false positive warning

This commit is contained in:
Gabor Kiss-Vamosi 2023-12-18 17:25:48 +01:00
parent a720948aa1
commit 7b9f9a9f9e

View File

@ -136,8 +136,8 @@ void lv_draw_sw_transform(lv_draw_unit_t * draw_unit, const lv_area_t * dest_are
bool aa = draw_dsc->antialias;
bool is_rotated = draw_dsc->rotation;
int32_t xs_ups, ys_ups, ys_ups_start, ys_step_256_original;
int32_t xs_step_256, ys_step_256;
int32_t xs_ups = 0, ys_ups = 0, ys_ups_start = 0, ys_step_256_original = 0;
int32_t xs_step_256 = 0, ys_step_256 = 0;
/*If scaled only make some simplification to avoid rounding errors.
*For example if there is a 100x100 image zoomed to 300%