aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-03 07:04:48 -0700
committerGitHub <noreply@github.com>2025-05-03 07:04:48 -0700
commitb23c1865c0b1625c6fc03259b610d4639dd5c92a (patch)
tree069d311a91e8e879ed9008b135c9b39fe4be74d3 /llvm/tools/llvm-objdump
parentd328510f238cca5a95b75fcdaf9dfaddbc7d87c0 (diff)
downloadllvm-b23c1865c0b1625c6fc03259b610d4639dd5c92a.zip
llvm-b23c1865c0b1625c6fc03259b610d4639dd5c92a.tar.gz
llvm-b23c1865c0b1625c6fc03259b610d4639dd5c92a.tar.bz2
[tools] Remove unused local variables (NFC) (#138384)
Diffstat (limited to 'llvm/tools/llvm-objdump')
-rw-r--r--llvm/tools/llvm-objdump/SourcePrinter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/tools/llvm-objdump/SourcePrinter.cpp b/llvm/tools/llvm-objdump/SourcePrinter.cpp
index 061e4c0..33d494b 100644
--- a/llvm/tools/llvm-objdump/SourcePrinter.cpp
+++ b/llvm/tools/llvm-objdump/SourcePrinter.cpp
@@ -378,7 +378,6 @@ void SourcePrinter::printSourceLine(formatted_raw_ostream &OS,
DILineInfo LineInfo = DILineInfo();
Expected<DILineInfo> ExpectedLineInfo =
Symbolizer->symbolizeCode(*Obj, Address);
- std::string ErrorMessage;
if (ExpectedLineInfo) {
LineInfo = *ExpectedLineInfo;
} else if (!WarnedInvalidDebugInfo) {