diff --git a/test/unit/lib/thread/thread.c/thread_ut.c b/test/unit/lib/thread/thread.c/thread_ut.c index a563f8bdd..dae6df345 100644 --- a/test/unit/lib/thread/thread.c/thread_ut.c +++ b/test/unit/lib/thread/thread.c/thread_ut.c @@ -550,7 +550,7 @@ for_each_channel_unreg(void) struct spdk_io_channel *ch0; struct io_device *dev; struct unreg_ctx ctx = {}; - int io_target; + int io_target = 0; allocate_threads(1); set_thread(0);