summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-08-11 00:43:20 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-08-11 00:43:20 +0000
commit3c24a17c7cc51bce90993a783019c5899c205bc4 (patch)
tree9fc1be219c8eb2fb2627dad6c5871ea9b1cd070d
parent478235d882f5dbe279fc3731daca29493ec69f6b (diff)
downloadbcm5719-llvm-3c24a17c7cc51bce90993a783019c5899c205bc4.tar.gz
bcm5719-llvm-3c24a17c7cc51bce90993a783019c5899c205bc4.zip
Incremental fixes of issues found by Xcode static analyzer.
llvm-svn: 137288
-rw-r--r--lldb/tools/debugserver/source/RNBRemote.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/tools/debugserver/source/RNBRemote.cpp b/lldb/tools/debugserver/source/RNBRemote.cpp
index ec77e48042c..25af3c13a01 100644
--- a/lldb/tools/debugserver/source/RNBRemote.cpp
+++ b/lldb/tools/debugserver/source/RNBRemote.cpp
@@ -429,7 +429,6 @@ RNBRemote::GetPacket (std::string &packet_payload, RNBRemote::Packet& packet_inf
return err;
const nub_event_t events_to_wait_for = RNBContext::event_read_packet_available | RNBContext::event_read_thread_exiting;
- set_events = 0;
while ((set_events = events.WaitForSetEvents(events_to_wait_for)) != 0)
{
@@ -2068,7 +2067,7 @@ RNBRemote::SendStopReplyPacketForThread (nub_thread_t tid)
// Output the T packet with the thread
ostrm << 'T';
int signum = tid_stop_info.details.signal.signo;
- DNBLogThreadedIf (LOG_RNB_PROC, "%8d %s got signal signo = %u, exc_type = %u", (uint32_t)m_comm.Timer().ElapsedMicroSeconds(true), __FUNCTION__, tid_stop_info.details.signal.signo, tid_stop_info.details.exception.type);
+ DNBLogThreadedIf (LOG_RNB_PROC, "%8d %s got signal signo = %u, exc_type = %u", (uint32_t)m_comm.Timer().ElapsedMicroSeconds(true), __FUNCTION__, signum, tid_stop_info.details.exception.type);
// Translate any mach exceptions to gdb versions, unless they are
// common exceptions like a breakpoint or a soft signal.
OpenPOWER on IntegriCloud