Skip to content

Commit 9cd5e5c

Browse files
[llvm-debuginfod-find] Fix a warning
This patch fixes: llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.cpp:70:19: error: unused variable 'ToolName' [-Werror,-Wunused-variable]
1 parent 9c15ff2 commit 9cd5e5c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ static std::vector<std::string> DebugFileDirectory;
6767

6868
static void parseArgs(int argc, char **argv) {
6969
DebuginfodFindOptTable Tbl;
70-
llvm::StringRef ToolName = argv[0];
7170
llvm::BumpPtrAllocator A;
7271
llvm::StringSaver Saver{A};
7372
opt::InputArgList Args =

0 commit comments

Comments
 (0)