projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9dd70f
)
Silence warning on older gcc (bogus)
author
Jens Axboe
<jens.axboe@oracle.com>
Fri, 23 May 2008 11:28:59 +0000
(13:28 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Fri, 23 May 2008 11:28:59 +0000
(13:28 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
io_u.c
patch
|
blob
|
blame
|
history
diff --git
a/io_u.c
b/io_u.c
index c728168d7ce48086c9e15d777eb0c2e9ab13f166..c3939b32ad0df0f101fa24d0bdfef6ebe716c0ff 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-217,7
+217,7
@@
static int get_next_offset(struct thread_data *td, struct io_u *io_u)
static unsigned int get_next_buflen(struct thread_data *td, struct io_u *io_u)
{
const int ddir = io_u->ddir;
- unsigned int buflen
;
+ unsigned int buflen
= buflen; /* silence dumb gcc warning */
long r;
if (td->o.min_bs[ddir] == td->o.max_bs[ddir])