commit | f3f552b9920cc45c5b1f9c679f36b8ddb13927d0 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Fri Jun 13 10:27:05 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Jun 13 10:27:05 2008 +0200 |
tree | 212cb16ded8b5ae3d62fe49d84cbbf17f0d3d17c | |
parent | 9c02f6eface8c71980b65db2999753a9567d3662 [diff] [blame] |
Add uninitialized_var() to silence bogus compiler warnings Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/io_u.c b/io_u.c index 0d24b18..1dff88f 100644 --- a/io_u.c +++ b/io_u.c
@@ -235,7 +235,7 @@ static unsigned int get_next_buflen(struct thread_data *td, struct io_u *io_u) { const int ddir = io_u->ddir; - unsigned int buflen = buflen; /* silence dumb gcc warning */ + unsigned int uninitialized_var(buflen); unsigned int minbs, maxbs; long r;