[Lldb-commits] [lldb] r175125 - Probably should return that value we took the trouble to compute.

Jim Ingham jingham at apple.com
Wed Feb 13 19:04:50 PST 2013


Author: jingham
Date: Wed Feb 13 21:04:50 2013
New Revision: 175125

URL: http://llvm.org/viewvc/llvm-project?rev=175125&view=rev
Log:
Probably should return that value we took the trouble to compute.

Modified:
    lldb/trunk/source/Breakpoint/BreakpointSiteList.cpp

Modified: lldb/trunk/source/Breakpoint/BreakpointSiteList.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Breakpoint/BreakpointSiteList.cpp?rev=175125&r1=175124&r2=175125&view=diff
==============================================================================
--- lldb/trunk/source/Breakpoint/BreakpointSiteList.cpp (original)
+++ lldb/trunk/source/Breakpoint/BreakpointSiteList.cpp Wed Feb 13 21:04:50 2013
@@ -169,7 +169,7 @@ BreakpointSiteList::BreakpointSiteContai
 {
     collection::const_iterator pos = GetIDConstIterator(bp_site_id);
     if (pos != m_bp_site_list.end())
-        pos->second->IsBreakpointAtThisSite (bp_id);
+        return pos->second->IsBreakpointAtThisSite (bp_id);
 
     return false;
 }





More information about the lldb-commits mailing list