[Lldb-commits] [lldb] r163576 - /lldb/trunk/source/Target/Thread.cpp

Jim Ingham jingham at apple.com
Mon Sep 10 17:09:25 PDT 2012


Author: jingham
Date: Mon Sep 10 19:09:25 2012
New Revision: 163576

URL: http://llvm.org/viewvc/llvm-project?rev=163576&view=rev
Log:
Initialize a variable to quite a compiler warning.

Modified:
    lldb/trunk/source/Target/Thread.cpp

Modified: lldb/trunk/source/Target/Thread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Thread.cpp?rev=163576&r1=163575&r2=163576&view=diff
==============================================================================
--- lldb/trunk/source/Target/Thread.cpp (original)
+++ lldb/trunk/source/Target/Thread.cpp Mon Sep 10 19:09:25 2012
@@ -955,7 +955,7 @@
     {
 
         int master_plan_idx;
-        bool discard;
+        bool discard = true;
 
         // Find the first master plan, see if it wants discarding, and if yes discard up to it.
         for (master_plan_idx = m_plan_stack.size() - 1; master_plan_idx >= 0; master_plan_idx--)





More information about the lldb-commits mailing list