aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/SymbolFile
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2019-10-01 22:04:14 +0000
committerJordan Rupprecht <rupprecht@google.com>2019-10-01 22:04:14 +0000
commita77c3ef03c821d448296ba2abb658288800494ac (patch)
tree9f8920438373dfe1d19fc243f0eaeb5b6d8d8080 /lldb/source/Plugins/SymbolFile
parent5e0a0b707b1270bb9f80b7cb92f0363a0e0d961f (diff)
downloadllvm-a77c3ef03c821d448296ba2abb658288800494ac.tar.gz
llvm-a77c3ef03c821d448296ba2abb658288800494ac.tar.bz2
llvm-a77c3ef03c821d448296ba2abb658288800494ac.zip
[lldb] Fix unused variable warning
llvm-svn: 373399
Diffstat (limited to 'lldb/source/Plugins/SymbolFile')
-rw-r--r--lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp b/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
index bf9e06144f51..80eb1c760307 100644
--- a/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
+++ b/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
@@ -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) {