commit | 12051a0937af1d2b587f935ef01c4e8bf0112170 | [log] [tgz] |
---|---|---|
author | Yurii Zubrytskyi <zyy@google.com> | Thu Feb 20 16:03:10 2020 -0800 |
committer | Yurii Zubrytskyi <zyy@google.com> | Thu Feb 20 16:03:10 2020 -0800 |
tree | c53cb888ddb1b77068f9e2f514ee35a033527888 | |
parent | b65950642de174239189631779c26b2a05b209d0 [diff] |
Initialize |sentBlocksCount| It happened to always be 0 during all tests. Test: manual Change-Id: I2f5089096a8ecda2ec52756199412c7d43f6903c
diff --git a/adb/client/incremental_server.cpp b/adb/client/incremental_server.cpp index 9037672..726533d 100644 --- a/adb/client/incremental_server.cpp +++ b/adb/client/incremental_server.cpp
@@ -146,7 +146,7 @@ const unique_fd& RawFd() const { return fd_; } std::vector<bool> sentBlocks; - NumBlocks sentBlocksCount; + NumBlocks sentBlocksCount = 0; const char* const filepath; const FileId id;