summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-08-11 21:24:08 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-08-11 21:24:08 +0000
commitcbbd9bea5304078a15c579d59480c6af35a1beed (patch)
tree60d579f35d1656070cc007c7e47c3d6dbeb818bd /lldb/source
parentda4f0eb12c166649711b830a7e8d2ee4fdaa2626 (diff)
downloadbcm5719-llvm-cbbd9bea5304078a15c579d59480c6af35a1beed.tar.gz
bcm5719-llvm-cbbd9bea5304078a15c579d59480c6af35a1beed.zip
To silence the static analyzer.
llvm-svn: 137355
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Breakpoint/BreakpointIDList.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Breakpoint/BreakpointIDList.cpp b/lldb/source/Breakpoint/BreakpointIDList.cpp
index b4a80705548..e7e92992156 100644
--- a/lldb/source/Breakpoint/BreakpointIDList.cpp
+++ b/lldb/source/Breakpoint/BreakpointIDList.cpp
@@ -91,7 +91,6 @@ BreakpointIDList::AddBreakpointID (const char *bp_id_str)
bool
BreakpointIDList::FindBreakpointID (BreakpointID &bp_id, uint32_t *position)
{
- bool success = false;
BreakpointIDArray::iterator tmp_pos;
for (size_t i = 0; i < m_breakpoint_ids.size(); ++i)
@@ -100,7 +99,6 @@ BreakpointIDList::FindBreakpointID (BreakpointID &bp_id, uint32_t *position)
if (tmp_id.GetBreakpointID() == bp_id.GetBreakpointID()
&& tmp_id.GetLocationID() == bp_id.GetLocationID())
{
- success = true;
*position = i;
return true;
}
OpenPOWER on IntegriCloud