diff --git a/test/lib/json/util/json_util_ut.c b/test/lib/json/util/json_util_ut.c index 5d994bf6d8..c2930dcc60 100644 --- a/test/lib/json/util/json_util_ut.c +++ b/test/lib/json/util/json_util_ut.c @@ -83,7 +83,7 @@ test_num_to_int32(void) { struct spdk_json_val v; char buf[100]; - int32_t i32; + int32_t i32 = 0; NUM_SETUP("1234"); CU_ASSERT(spdk_json_number_to_int32(&v, &i32) == 0);