mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix uninitialized variable (#3033)
This commit is contained in:
parent
101d09276f
commit
e143788903
@ -257,8 +257,8 @@ static lv_obj_t * find_chid(lv_obj_t * obj, lv_obj_t * start_child, find_mode_t
|
||||
if(child == start_child) continue;
|
||||
if(obj_is_focuable(child) == false) continue;
|
||||
|
||||
lv_coord_t x_err;
|
||||
lv_coord_t y_err;
|
||||
lv_coord_t x_err = 0;
|
||||
lv_coord_t y_err = 0;
|
||||
switch(mode) {
|
||||
case FIND_LEFT:
|
||||
x_err = get_x_center(child) - x_start;
|
||||
|
Loading…
x
Reference in New Issue
Block a user