forked from OSchip/llvm-project
Remove unused variables.
Patch by Taras Tsugrii llvm-svn: 280283
This commit is contained in:
parent
85d79744df
commit
6c978aa9da
|
@ -394,7 +394,6 @@ TypeCategoryMap::ForEach(ForEachCallback callback)
|
|||
{
|
||||
if (pos->second->IsEnabled())
|
||||
continue;
|
||||
KeyType type = pos->first;
|
||||
if (!callback(pos->second))
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue