commit | 37c81fd6f0188748e188a9de1b36486a3bef565a | [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 | 9c7a39ed2dc133f63c91961fce9a86866f1a551e [diff] | |
parent | 6e06bcce9cfdbc87c4853c4e78853365e7921263 [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); }