Merge "Initialize all fields of struct iocb."
This commit is contained in:
commit
6e06bcce9c
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ struct TransferId {
|
|||
|
||||
struct IoBlock {
|
||||
bool pending = false;
|
||||
struct iocb control;
|
||||
struct iocb control = {};
|
||||
std::shared_ptr<Block> payload;
|
||||
|
||||
TransferId id() const { return TransferId::from_value(control.aio_data); }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue