Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 982259ad authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Initialize all fields of struct iocb." into qt-dev

parents 9924f7ee 9da358d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -117,7 +117,7 @@ struct TransferId {


struct IoBlock {
struct IoBlock {
    bool pending = false;
    bool pending = false;
    struct iocb control;
    struct iocb control = {};
    std::shared_ptr<Block> payload;
    std::shared_ptr<Block> payload;


    TransferId id() const { return TransferId::from_value(control.aio_data); }
    TransferId id() const { return TransferId::from_value(control.aio_data); }