diff options
author | Greg Clayton <gclayton@apple.com> | 2010-07-14 00:18:15 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-07-14 00:18:15 +0000 |
commit | b132097b4558cd3fd697eedc1c26581d37b6e266 (patch) | |
tree | 78d5945f162b13c4decc0760e149f4625e64a059 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | c3d6cb65431c8b01dbbddb0bc0821a0393d51bf0 (diff) | |
download | bcm5719-llvm-b132097b4558cd3fd697eedc1c26581d37b6e266.tar.gz bcm5719-llvm-b132097b4558cd3fd697eedc1c26581d37b6e266.zip |
I enabled some extra warnings for hidden local variables and for hidden
virtual functions and caught some things and did some general code cleanup.
llvm-svn: 108299
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectThread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index 0934045fd5b..6c38758e3fc 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -760,7 +760,7 @@ public: result.AppendMessageWithFormat ("Resuming process %i\n", process->GetID()); if (synchronous_execution) { - StateType state = process->WaitForProcessToStop (NULL); + state = process->WaitForProcessToStop (NULL); result.SetDidChangeProcessState (true); result.AppendMessageWithFormat ("Process %i %s\n", process->GetID(), StateAsCString (state)); @@ -827,7 +827,7 @@ public: { case 't': { - uint32_t m_thread_idx = Args::StringToUInt32 (option_arg, LLDB_INVALID_INDEX32); + m_thread_idx = Args::StringToUInt32 (option_arg, LLDB_INVALID_INDEX32); if (m_thread_idx == LLDB_INVALID_INDEX32) { error.SetErrorStringWithFormat ("Invalid thread index '%s'.\n", option_arg); |