forked from OSchip/llvm-project
Value stored to 'pid' was never read. Found by scan-build http://buildd-clang.debian.net/scan-build/
llvm-svn: 192060
This commit is contained in:
parent
567f085177
commit
fd654c406e
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue