Skip to content

Commit 2e95941

Browse files
committed
SymbolFile: Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after D65089/r366791
llvm-svn: 367001
1 parent 0588588 commit 2e95941

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/source/Symbol/SymbolFile.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ void SymbolFile::SetCompileUnitAtIndex(uint32_t idx, const CompUnitSP &cu_sp) {
189189
std::lock_guard<std::recursive_mutex> guard(GetModuleMutex());
190190
const size_t num_compile_units = GetNumCompileUnits();
191191
assert(idx < num_compile_units);
192+
(void)num_compile_units;
192193

193194
// Fire off an assertion if this compile unit already exists for now. The
194195
// partial parsing should take care of only setting the compile unit

0 commit comments

Comments
 (0)