aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-07-14 00:18:15 +0000
committerGreg Clayton <gclayton@apple.com>2010-07-14 00:18:15 +0000
commitb132097b4558cd3fd697eedc1c26581d37b6e266 (patch)
tree78d5945f162b13c4decc0760e149f4625e64a059 /lldb/source/Commands/CommandObjectProcess.cpp
parentc3d6cb65431c8b01dbbddb0bc0821a0393d51bf0 (diff)
downloadllvm-b132097b4558cd3fd697eedc1c26581d37b6e266.zip
llvm-b132097b4558cd3fd697eedc1c26581d37b6e266.tar.gz
llvm-b132097b4558cd3fd697eedc1c26581d37b6e266.tar.bz2
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/CommandObjectProcess.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectProcess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp
index 6946751..20b008f 100644
--- a/lldb/source/Commands/CommandObjectProcess.cpp
+++ b/lldb/source/Commands/CommandObjectProcess.cpp
@@ -536,7 +536,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));