[Lldb-commits] [lldb] r373399 - [lldb] Fix unused variable warning

Jordan Rupprecht via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 1 15:04:14 PDT 2019


Author: rupprecht
Date: Tue Oct  1 15:04:14 2019
New Revision: 373399

URL: http://llvm.org/viewvc/llvm-project?rev=373399&view=rev
Log:
[lldb] Fix unused variable warning

Modified:
    lldb/trunk/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp

Modified: lldb/trunk/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp?rev=373399&r1=373398&r2=373399&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp Tue Oct  1 15:04:14 2019
@@ -1639,7 +1639,6 @@ void SymbolFilePDB::GetTypes(lldb_privat
                              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) {




More information about the lldb-commits mailing list