From 0cae66f6df9eb63d4896c29d7998d4aaf964fea5 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 3 Mar 2014 13:55:32 -0700 Subject: [PATCH] Silence 'io_u might be used uninitialized' warning Signed-off-by: Jens Axboe --- io_u.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io_u.c b/io_u.c index 75b23eb4..8e277087 100644 --- a/io_u.c +++ b/io_u.c @@ -1297,7 +1297,7 @@ int queue_full(struct thread_data *td) struct io_u *__get_io_u(struct thread_data *td) { - struct io_u *io_u; + struct io_u *io_u = NULL; td_io_u_lock(td); -- 2.25.1