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 ());


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to