[lldb] Fix unused variable warning
authorJordan Rupprecht <rupprecht@google.com>
Tue, 1 Oct 2019 22:04:14 +0000 (22:04 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Tue, 1 Oct 2019 22:04:14 +0000 (22:04 +0000)
llvm-svn: 373399

lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp

index bf9e061..80eb1c7 100644 (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) {