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:
Sylvestre Ledru 2013-10-06 09:51:02 +00:00
parent 567f085177
commit fd654c406e
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{