summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/ThreadList.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/Target/ThreadList.cpp
parentc3d6cb65431c8b01dbbddb0bc0821a0393d51bf0 (diff)
downloadbcm5719-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/Target/ThreadList.cpp')
-rw-r--r--lldb/source/Target/ThreadList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/ThreadList.cpp b/lldb/source/Target/ThreadList.cpp
index 8255c5df3b6..bd112f64fcc 100644
--- a/lldb/source/Target/ThreadList.cpp
+++ b/lldb/source/Target/ThreadList.cpp
@@ -45,7 +45,7 @@ ThreadList::operator = (const ThreadList& rhs)
{
// Lock both mutexes to make sure neither side changes anyone on us
// while the assignement occurs
- Mutex::Locker locker_this(m_threads_mutex);
+ Mutex::Locker locker_lhs(m_threads_mutex);
Mutex::Locker locker_rhs(rhs.m_threads_mutex);
m_process = rhs.m_process;
m_stop_id = rhs.m_stop_id;
OpenPOWER on IntegriCloud