summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-12-20 16:51:25 +0100
committerPavel Labath <pavel@labath.sk>2019-12-20 16:51:25 +0100
commit32a34289597c7b0cc60b6c90b4222b44bef302d5 (patch)
tree7a9760b403da9f39aa02279a47c541dc67a98e39 /lldb/source/Core
parentca567ad6ffc1fbbd5e354ab80e426c052d027811 (diff)
downloadbcm5719-llvm-32a34289597c7b0cc60b6c90b4222b44bef302d5.tar.gz
bcm5719-llvm-32a34289597c7b0cc60b6c90b4222b44bef302d5.zip
[lldb] Fix an unused variable warning
Diffstat (limited to 'lldb/source/Core')
-rw-r--r--lldb/source/Core/FormatEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/FormatEntity.cpp b/lldb/source/Core/FormatEntity.cpp
index 5d4dba07374..7aa1eced34f 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] ");
OpenPOWER on IntegriCloud