Silence 'io_u might be used uninitialized' warning
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index 75b23eb47d9091c58d3df19b2f6def826d3c3836..8e27708731c7290abc4e468000ec045d856e1241 100644 (file)
--- 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);