[Lldb-commits] [lldb] r192060 - Value stored to 'pid' was never read. Found by scan-build http://buildd-clang.debian.net/scan-build/
Sylvestre Ledru
sylvestre at debian.org
Sun Oct 6 02:51:02 PDT 2013
Author: sylvestre
Date: Sun Oct 6 04:51:02 2013
New Revision: 192060
URL: http://llvm.org/viewvc/llvm-project?rev=192060&view=rev
Log:
Value stored to 'pid' was never read. Found by scan-build http://buildd-clang.debian.net/scan-build/
Modified:
lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp?rev=192060&r1=192059&r2=192060&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp Sun Oct 6 04:51:02 2013
@@ -2212,7 +2212,7 @@ GDBRemoteCommunicationClient::KillSpawne
stream.Printf ("qKillSpawnedProcess:%" PRId64 , pid);
const char *packet = stream.GetData();
int packet_len = stream.GetSize();
- pid = LLDB_INVALID_PROCESS_ID;
+
StringExtractorGDBRemote response;
if (SendPacketAndWaitForResponse(packet, packet_len, response, false))
{
More information about the lldb-commits
mailing list