summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-01-18 22:33:02 -0700
committerJens Axboe <jaxboe@fusionio.com>2011-01-18 22:33:02 -0700
commitff21745102e2410df4b950ca2ff774ad5ea717d1 (patch)
treee8e182297fc1ddee48d49c26929ca363cd638114
parent996936f995c47f4744a49e05419e7d4c0364c64e (diff)
downloadfio-ff21745102e2410df4b950ca2ff774ad5ea717d1.tar.gz
fio-ff21745102e2410df4b950ca2ff774ad5ea717d1.tar.bz2
Remember to initialize return value in fixup_options()
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-rw-r--r--init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.c b/init.c
index 15adf385..4ce57a4f 100644
--- a/init.c
+++ b/init.c
@@ -248,7 +248,7 @@ static int fixed_block_size(struct thread_options *o)
static int fixup_options(struct thread_data *td)
{
struct thread_options *o = &td->o;
- int ret;
+ int ret = 0;
#ifndef FIO_HAVE_PSHARED_MUTEX
if (!o->use_thread) {