summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/MacOSX/Genealogy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/Genealogy.cpp')
-rw-r--r--lldb/tools/debugserver/source/MacOSX/Genealogy.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/Genealogy.cpp b/lldb/tools/debugserver/source/MacOSX/Genealogy.cpp
index 1544dc26b60..e6ada966b81 100644
--- a/lldb/tools/debugserver/source/MacOSX/Genealogy.cpp
+++ b/lldb/tools/debugserver/source/MacOSX/Genealogy.cpp
@@ -236,12 +236,10 @@ Genealogy::GetActivities(pid_t pid, const MachThreadList &thread_list, task_t ta
nub_thread_t thread_id = iter->first;
uint64_t activity_id = iter->second;
ActivityList::const_iterator activity_search;
- bool found_activity_for_this_thread = false;
for (activity_search = activities.begin(); activity_search != activities.end(); ++activity_search)
{
if (activity_search->activity_id == activity_id)
{
- found_activity_for_this_thread = true;
ThreadActivitySP thread_activity_sp (new ThreadActivity());
thread_activity_sp->current_activity = *activity_search;
OpenPOWER on IntegriCloud