commit | fd654c406e41c71717f349119314f9aad05afea5 | [log] [tgz] |
---|---|---|
author | Sylvestre Ledru <sylvestre@debian.org> | Sun Oct 06 09:51:02 2013 +0000 |
committer | Sylvestre Ledru <sylvestre@debian.org> | Sun Oct 06 09:51:02 2013 +0000 |
tree | 02d6780e4b3d9127823eb8a16da6b96e3f62d20d | |
parent | 567f08517751290f4a75f2fe18ad0bafd6d35184 [diff] [blame] |
Value stored to 'pid' was never read. Found by scan-build http://buildd-clang.debian.net/scan-build/ llvm-svn: 192060
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index 6a53a11..cadf757 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -2212,7 +2212,7 @@ 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)) {