mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::fs::aio: No default zero initialization for aio::request used in array.
This commit is contained in:
parent
f34cc52043
commit
c683365341
2 changed files with 6 additions and 4 deletions
|
@ -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}
|
||||
{
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue