Author: Pavel Labath Date: 2019-12-20T16:51:25+01:00 New Revision: 32a34289597c7b0cc60b6c90b4222b44bef302d5
URL: https://github.com/llvm/llvm-project/commit/32a34289597c7b0cc60b6c90b4222b44bef302d5 DIFF: https://github.com/llvm/llvm-project/commit/32a34289597c7b0cc60b6c90b4222b44bef302d5.diff LOG: [lldb] Fix an unused variable warning Added: Modified: lldb/source/Core/FormatEntity.cpp Removed: ################################################################################ diff --git a/lldb/source/Core/FormatEntity.cpp b/lldb/source/Core/FormatEntity.cpp index 5d4dba073743..7aa1eced34f3 100644 --- a/lldb/source/Core/FormatEntity.cpp +++ b/lldb/source/Core/FormatEntity.cpp @@ -1762,7 +1762,7 @@ bool FormatEntity::Format(const Entry &entry, Stream &s, return false; s.PutCString(name); - if (Block *inline_block = sc->block->GetContainingInlinedBlock()) { + if (sc->block->GetContainingInlinedBlock()) { if (const InlineFunctionInfo *inline_info = sc->block->GetInlinedFunctionInfo()) { s.PutCString(" [inlined] "); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits