[lldb] Fix unused variable warning

llvm-svn: 373399
This commit is contained in:
Jordan Rupprecht 2019-10-01 22:04:14 +00:00
parent 5e0a0b707b
commit a77c3ef03c
1 changed files with 0 additions and 1 deletions

View File

@ -1639,7 +1639,6 @@ void SymbolFilePDB::GetTypes(lldb_private::SymbolContextScope *sc_scope,
lldb_private::TypeList &type_list) {
std::lock_guard<std::recursive_mutex> guard(GetModuleMutex());
TypeCollection type_collection;
uint32_t old_size = type_list.GetSize();
CompileUnit *cu =
sc_scope ? sc_scope->CalculateSymbolContextCompileUnit() : nullptr;
if (cu) {