From db26a603205949719d586af727c2c2adc2ed3bd5 Mon Sep 17 00:00:00 2001 From: Themba D <42941056+embeddedt@users.noreply.github.com> Date: Thu, 3 Jan 2019 07:16:25 -0500 Subject: [PATCH] Fix another uninitialized value reported in #695 --- lv_objx/lv_spinbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lv_objx/lv_spinbox.c b/lv_objx/lv_spinbox.c index 528470645..dc4c6086b 100644 --- a/lv_objx/lv_spinbox.c +++ b/lv_objx/lv_spinbox.c @@ -346,7 +346,7 @@ static lv_res_t lv_spinbox_signal(lv_obj_t * spinbox, lv_signal_t sign, void * p lv_spinbox_ext_t * ext = lv_obj_get_ext_attr(spinbox); - lv_res_t res; + lv_res_t res = LV_RES_OK; /* Include the ancient signal function */ if(sign != LV_SIGNAL_CONTROLL)