On Tue, Mar 12 2013, Aaron Carroll wrote: > Also fix a build warning due to unused variable in some configs. I applied the ioprio part, is the other bit against an older series? > diff --git a/engines/net.c b/engines/net.c > index 624ff15..abb8412 100644 > --- a/engines/net.c > +++ b/engines/net.c > @@ -490,6 +490,9 @@ static int fio_netio_connect(struct thread_data *td, struct fio_file *f) > return 1; > } > } > +#else > + /* avoid warnings */ > + (void)optval; > #endif > > if (o->proto == FIO_TYPE_UDP) > @@ -553,6 +556,9 @@ static int fio_netio_accept(struct thread_data *td, struct fio_file *f) > return 1; > } > } > +#else > + /* avoid warnings */ > + (void)optval; > #endif > > reset_all_stats(td); optval is only inside the scope of the ifdef. This was changed with commit 6264c7a8 as of Feb 28th. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html