summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/DataFormatters/TypeCategoryMap.cpp1
-rw-r--r--lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp3
-rw-r--r--lldb/source/Target/Process.cpp2
-rw-r--r--lldb/source/Target/ThreadPlanStepOut.cpp2
4 files changed, 1 insertions, 7 deletions
diff --git a/lldb/source/DataFormatters/TypeCategoryMap.cpp b/lldb/source/DataFormatters/TypeCategoryMap.cpp
index 984c7f213de..fc28783e36f 100644
--- a/lldb/source/DataFormatters/TypeCategoryMap.cpp
+++ b/lldb/source/DataFormatters/TypeCategoryMap.cpp
@@ -394,7 +394,6 @@ TypeCategoryMap::ForEach(ForEachCallback callback)
{
if (pos->second->IsEnabled())
continue;
- KeyType type = pos->first;
if (!callback(pos->second))
break;
}
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
index f8bce2b7b99..6888532f370 100644
--- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
@@ -1751,7 +1751,6 @@ AppleObjCRuntimeV2::UpdateISAToDescriptorMapSharedCache()
bool success = false;
- bool any_found = false;
diagnostics.Clear();
@@ -1812,7 +1811,7 @@ AppleObjCRuntimeV2::UpdateISAToDescriptorMapSharedCache()
process->GetByteOrder(),
addr_size);
- any_found = (ParseClassInfoArray (class_infos_data, num_class_infos) > 0);
+ ParseClassInfoArray (class_infos_data, num_class_infos);
}
}
else
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index 84f7f576c70..f5f8660a122 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -6602,7 +6602,6 @@ Process::GetMemoryRegions (std::vector<lldb::MemoryRegionInfoSP>& region_list)
Error error;
- lldb::addr_t range_base = 0;
lldb::addr_t range_end = 0;
region_list.clear();
@@ -6617,7 +6616,6 @@ Process::GetMemoryRegions (std::vector<lldb::MemoryRegionInfoSP>& region_list)
break;
}
- range_base = region_info->GetRange().GetRangeBase();
range_end = region_info->GetRange().GetRangeEnd();
if( region_info->GetMapped() == MemoryRegionInfo::eYes )
{
diff --git a/lldb/source/Target/ThreadPlanStepOut.cpp b/lldb/source/Target/ThreadPlanStepOut.cpp
index eac4a36b0a9..55f8818d689 100644
--- a/lldb/source/Target/ThreadPlanStepOut.cpp
+++ b/lldb/source/Target/ThreadPlanStepOut.cpp
@@ -71,8 +71,6 @@ ThreadPlanStepOut::ThreadPlanStepOut
m_step_out_to_id = return_frame_sp->GetStackID();
m_immediate_step_from_id = immediate_return_from_sp->GetStackID();
-
- StackID frame_zero_id = m_thread.GetStackFrameAtIndex(0)->GetStackID();
// If the frame directly below the one we are returning to is inlined, we have to be
// a little more careful. It is non-trivial to determine the real "return code address" for
OpenPOWER on IntegriCloud