[Lldb-commits] [PATCH] D23952: Remove unused frame_zero_id local variable

Taras Tsugrii via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 26 19:11:30 PDT 2016


wttsugrii created this revision.
wttsugrii added a reviewer: jingham.
wttsugrii added a subscriber: lldb-commits.

frame_zero_id local variable is not used and can be safely removed.

https://reviews.llvm.org/D23952

Files:
  source/Target/ThreadPlanStepOut.cpp

Index: source/Target/ThreadPlanStepOut.cpp
===================================================================
--- source/Target/ThreadPlanStepOut.cpp
+++ source/Target/ThreadPlanStepOut.cpp
@@ -71,8 +71,6 @@
     
     m_step_out_to_id = return_frame_sp->GetStackID();
     m_immediate_step_from_id = immediate_return_from_sp->GetStackID();
-    
-    StackID frame_zero_id = m_thread.GetStackFrameAtIndex(0)->GetStackID();
 
     // If the frame directly below the one we are returning to is inlined, we have to be
     // a little more careful.  It is non-trivial to determine the real "return code address" for


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23952.69460.patch
Type: text/x-patch
Size: 615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160827/6618d018/attachment.bin>


More information about the lldb-commits mailing list