diff --git a/ircd/fs_aio.cc b/ircd/fs_aio.cc index b608ecb8b..201afd55d 100644 --- a/ircd/fs_aio.cc +++ b/ircd/fs_aio.cc @@ -361,6 +361,8 @@ ircd::fs::aio::request::request(const int &fd, const struct opts *const &opts, ctx::dock *const &waiter) :iocb{0} +,retval{-2L} +,errcode{0L} ,opts{opts} ,waiter{waiter} { diff --git a/ircd/fs_aio.h b/ircd/fs_aio.h index 56b8a2e1a..4f18caa93 100644 --- a/ircd/fs_aio.h +++ b/ircd/fs_aio.h @@ -122,10 +122,10 @@ struct ircd::fs::aio::request struct write; struct fsync; - ssize_t retval {-2L}; - ssize_t errcode {0L}; - const struct opts *opts {nullptr}; - ctx::dock *waiter {nullptr}; + ssize_t retval; + ssize_t errcode; + const struct opts *opts; + ctx::dock *waiter; bool wait();