[lldb-dev] [PATCH] Fixing a warning
William Lynch
wlynch at wlynch.cx
Thu Jul 15 14:08:59 PDT 2010
This cleans up a constructor initialization order warning.
Enjoy,
Bill Lynch
Index: source/Target/ThreadPlanStepInstruction.cpp
===================================================================
--- source/Target/ThreadPlanStepInstruction.cpp (revision 108458)
+++ source/Target/ThreadPlanStepInstruction.cpp (working copy)
@@ -39,9 +39,10 @@
) :
ThreadPlan (ThreadPlan::eKindStepInstruction, "Step over single
instruction", thread, stop_vote, run_vote),
m_instruction_addr (0),
+ m_stop_other_threads (stop_other_threads),
m_step_over (step_over),
- m_stack_depth(0),
- m_stop_other_threads (stop_other_threads){
+ m_stack_depth(0)
+{
m_instruction_addr = m_thread.GetRegisterContext()->GetPC(0);
m_stack_depth = m_thread.GetStackFrameCount();
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20100715/1b0ce5c1/attachment.html>
More information about the lldb-dev
mailing list