summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2015-10-28 23:23:44 +0000
committerJason Molenda <jmolenda@apple.com>2015-10-28 23:23:44 +0000
commit21e36c4f89b0ca6e6516a48e15b3a5aed497f001 (patch)
tree86016fb05ed4f96440c3085614ac20c1fb8e231c
parent7920eb0b1fa07e81951c8b64b32c33beeb876c76 (diff)
downloadbcm5719-llvm-21e36c4f89b0ca6e6516a48e15b3a5aed497f001.tar.gz
bcm5719-llvm-21e36c4f89b0ca6e6516a48e15b3a5aed497f001.zip
Initialize data_len to 0 in source/Plugins/Platform/Android/AdbClient.cpp
llvm-svn: 251578
-rw-r--r--lldb/source/Plugins/Platform/Android/AdbClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Platform/Android/AdbClient.cpp b/lldb/source/Plugins/Platform/Android/AdbClient.cpp
index f57e8c3faf2..9d18011e0c4 100644
--- a/lldb/source/Plugins/Platform/Android/AdbClient.cpp
+++ b/lldb/source/Plugins/Platform/Android/AdbClient.cpp
@@ -359,7 +359,7 @@ AdbClient::PushFile (const FileSpec &local_file, const FileSpec &remote_file)
return error;
std::string response_id;
- uint32_t data_len;
+ uint32_t data_len = 0;
error = ReadSyncHeader (response_id, data_len);
if (error.Fail ())
return Error ("Failed to read DONE response: %s", error.AsCString ());
OpenPOWER on IntegriCloud