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


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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to