commit | 6e06bcce9cfdbc87c4853c4e78853365e7921263 | [log] [tgz] |
---|---|---|
author | Evgenii Stepanov <eugenis@google.com> | Thu May 16 06:36:11 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu May 16 06:36:11 2019 +0000 |
tree | dfff2db61ce50a1c7eefd2574038a3ed737f9730 | |
parent | 9c7a39ed2dc133f63c91961fce9a86866f1a551e [diff] | |
parent | fe7eca7b8fba6770ad36cadb4d89c87385f17451 [diff] |
Merge "Initialize all fields of struct iocb."
diff --git a/adb/daemon/usb.cpp b/adb/daemon/usb.cpp index 5631dd8..96ee6b2 100644 --- a/adb/daemon/usb.cpp +++ b/adb/daemon/usb.cpp
@@ -119,7 +119,7 @@ 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); }