commit | da4f72913fcbb0276aa9ca0fca55ce9afb2635c7 | [log] [tgz] |
---|---|---|
author | Daniel Zheng <zhengdaniel@google.com> | Fri Sep 02 22:59:32 2022 +0000 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Tue Sep 06 21:17:49 2022 +0000 |
tree | 2b3edbc85c577f5c8505f088f5ae4c0d81348a55 | |
parent | b6437d82f92c42d95656810fdf158cf2df54a746 [diff] [blame] |
added .clangd config file. initialized uninitialized variables Test: tested compilation. Change-Id: Iccb3ec4dd7ec6a631447c1e3a9e25d287362850f
diff --git a/payload_consumer/partition_writer.cc b/payload_consumer/partition_writer.cc index 1fb929e..3432c89 100644 --- a/payload_consumer/partition_writer.cc +++ b/payload_consumer/partition_writer.cc
@@ -160,7 +160,7 @@ // partial updates. Use the source size as the indicator. target_path_ = install_part_.target_path; - int err; + int err{}; int flags = O_RDWR; if (!interactive_)