[PATCH] Make io engines -W clean
[fio.git] / engines / fio-engine-mmap.c
index 0c79752ff17c3c61c33b2fc01a715b471f531566..d203d6afc40db3d4ccca1cbcdbdaff4f94c22aab 100644 (file)
@@ -67,7 +67,8 @@ static int fio_mmapio_queue(struct thread_data *td, struct io_u *io_u)
        return io_u->error;
 }
 
-static int fio_mmapio_sync(struct thread_data *td, struct fio_file *f)
+static int fio_mmapio_sync(struct thread_data fio_unused *td,
+                          struct fio_file *f)
 {
        return msync(f->mmap, f->file_size, MS_SYNC);
 }