Skip to content

Commit e0664bb

Browse files
kazutakahirataSterling-Augustine
authored andcommitted
[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 6f0c048 commit e0664bb

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)