Merge "Initialize all fields of struct iocb."

This commit is contained in:
Evgenii Stepanov 2019-05-16 06:36:11 +00:00 committed by Gerrit Code Review
commit 6e06bcce9c

View file

@ -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); }