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))
{
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits