diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2014-02-26 17:28:21 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2014-02-26 17:28:21 +0000 |
commit | 91d2101722d503ed797dc98b7cb5f107c5caffd6 (patch) | |
tree | 57d6e84a2f45cb66ca97b0d5db5ba666724ef13e /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | |
parent | fa5da05c866cc2e80fca9bcc83fe5d40a2dfbe49 (diff) | |
download | bcm5719-llvm-91d2101722d503ed797dc98b7cb5f107c5caffd6.tar.gz bcm5719-llvm-91d2101722d503ed797dc98b7cb5f107c5caffd6.zip |
remove useless declaration
llvm-svn: 202281
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, 0 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index ab3bf7f5aa2..9853de1476e 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp @@ -550,7 +550,6 @@ GDBRemoteCommunicationClient::SendPacketAndWaitForResponse PacketResult packet_result = PacketResult::ErrorSendFailed; Mutex::Locker locker; Log *log (ProcessGDBRemoteLog::GetLogIfAllCategoriesSet (GDBR_LOG_PROCESS)); - size_t response_len = 0; if (GetSequenceMutex (locker)) { packet_result = SendPacketAndWaitForResponseNoLock (payload, payload_length, response); @@ -588,7 +587,6 @@ GDBRemoteCommunicationClient::SendPacketAndWaitForResponse // Swap the response buffer to avoid malloc and string copy response.GetStringRef().swap (m_async_response.GetStringRef()); - response_len = response.GetStringRef().size(); packet_result = m_async_result; } else |