commit | 2008d8857c4954cdf4dff80006102041556fd883 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed Feb 22 01:46:28 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Feb 22 01:46:28 2017 +0000 |
tree | c63dd03de22fa3ade4d8183cb7f3ae264acb8b6b | |
parent | aeaa5f825cd62c5bd8a38277cd61006ba91dcb07 [diff] | |
parent | 746f8acd98c474be1c8b32df570667fda219bb10 [diff] |
Merge "fix uninitialized warning."
diff --git a/media/mtp/MtpFfsHandle.cpp b/media/mtp/MtpFfsHandle.cpp index 6c7ffcb..58d2bb8 100644 --- a/media/mtp/MtpFfsHandle.cpp +++ b/media/mtp/MtpFfsHandle.cpp
@@ -641,6 +641,7 @@ if (file_length == static_cast<unsigned>(init_read_len)) return 0; file_length -= init_read_len; offset += init_read_len; + ret = 0; // Break down the file into pieces that fit in buffers while(file_length > 0) {