[Lldb-commits] [lldb] r167019 - /lldb/trunk/source/API/SBAddress.cpp

Greg Clayton gclayton at apple.com
Tue Oct 30 09:32:38 PDT 2012


Author: gclayton
Date: Tue Oct 30 11:32:38 2012
New Revision: 167019

URL: http://llvm.org/viewvc/llvm-project?rev=167019&view=rev
Log:
Add missing return to SBAddress::GetOffset(). This was caught by Carlo Kok.


Modified:
    lldb/trunk/source/API/SBAddress.cpp

Modified: lldb/trunk/source/API/SBAddress.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBAddress.cpp?rev=167019&r1=167018&r2=167019&view=diff
==============================================================================
--- lldb/trunk/source/API/SBAddress.cpp (original)
+++ lldb/trunk/source/API/SBAddress.cpp Tue Oct 30 11:32:38 2012
@@ -185,7 +185,7 @@
 SBAddress::GetOffset ()
 {
     if (m_opaque_ap.get())
-        m_opaque_ap->GetOffset();
+        return m_opaque_ap->GetOffset();
     return 0;
 }
 





More information about the lldb-commits mailing list