diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2013-10-06 09:51:02 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2013-10-06 09:51:02 +0000 |
commit | fd654c406e41c71717f349119314f9aad05afea5 (patch) | |
tree | 02d6780e4b3d9127823eb8a16da6b96e3f62d20d /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | |
parent | 567f08517751290f4a75f2fe18ad0bafd6d35184 (diff) | |
download | bcm5719-llvm-fd654c406e41c71717f349119314f9aad05afea5.tar.gz bcm5719-llvm-fd654c406e41c71717f349119314f9aad05afea5.zip |
Value stored to 'pid' was never read. Found by scan-build http://buildd-clang.debian.net/scan-build/
llvm-svn: 192060
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index 6a53a11152d..cadf757f327 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp @@ -2212,7 +2212,7 @@ GDBRemoteCommunicationClient::KillSpawnedProcess (lldb::pid_t pid) 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)) { |