commit | 74882da0c570e5abdce0d494aeb2c01d04f1cd16 | [log] [tgz] |
---|---|---|
author | Evgenii Stepanov <eugenis@google.com> | Wed May 15 23:58:28 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Wed May 15 23:58:28 2019 -0700 |
tree | dfff2db61ce50a1c7eefd2574038a3ed737f9730 | |
parent | 7f6580ac23d21c05095b41e1e1b9cb0720ab7623 [diff] | |
parent | 10311795dc903247ef36732da7848f95f70628de [diff] |
Merge "Initialize all fields of struct iocb." am: 6e06bcce9c Change-Id: Iced013625dab9e8ce8f95209c48feabfb4bb1c17
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); }