[Lldb-commits] [lldb] r251578 - Initialize data_len to 0 in source/Plugins/Platform/Android/AdbClient.cpp
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 28 16:23:44 PDT 2015
Author: jmolenda
Date: Wed Oct 28 18:23:44 2015
New Revision: 251578
URL: http://llvm.org/viewvc/llvm-project?rev=251578&view=rev
Log:
Initialize data_len to 0 in source/Plugins/Platform/Android/AdbClient.cpp
Modified:
lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp
Modified: lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp?rev=251578&r1=251577&r2=251578&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp Wed Oct 28 18:23:44 2015
@@ -359,7 +359,7 @@ AdbClient::PushFile (const FileSpec &loc
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 ());
More information about the lldb-commits
mailing list