Merge "Initialize all fields of struct iocb." into qt-dev
This commit is contained in:
commit
982259add1
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,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