diff options
| author | Pavel Labath <pavel@labath.sk> | 2019-12-20 16:51:25 +0100 |
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2019-12-20 16:51:25 +0100 |
| commit | 32a34289597c7b0cc60b6c90b4222b44bef302d5 (patch) | |
| tree | 7a9760b403da9f39aa02279a47c541dc67a98e39 /lldb/source/Core | |
| parent | ca567ad6ffc1fbbd5e354ab80e426c052d027811 (diff) | |
| download | bcm5719-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.cpp | 2 |
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] "); |

