diff options
author | Kiran Chandramohan <kiran.chandramohan@arm.com> | 2023-12-09 16:27:33 +0000 |
---|---|---|
committer | Kiran Chandramohan <kiran.chandramohan@arm.com> | 2023-12-09 16:27:42 +0000 |
commit | 08cb64034f17d50a660ec78ce8ea81a025b0ba71 (patch) | |
tree | 032e7db3bcf3fe6cbc85a7f0f9adf2558c11bc8c | |
parent | 54e2749609d7114f4a48f4146cddeecf76d935a4 (diff) | |
download | llvm-08cb64034f17d50a660ec78ce8ea81a025b0ba71.zip llvm-08cb64034f17d50a660ec78ce8ea81a025b0ba71.tar.gz llvm-08cb64034f17d50a660ec78ce8ea81a025b0ba71.tar.bz2 |
[NFC] Remove an unused decl to avoid warning
-rw-r--r-- | clang/lib/Driver/ToolChains/WebAssembly.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/ToolChains/WebAssembly.cpp b/clang/lib/Driver/ToolChains/WebAssembly.cpp index f040181..f131b6c 100644 --- a/clang/lib/Driver/ToolChains/WebAssembly.cpp +++ b/clang/lib/Driver/ToolChains/WebAssembly.cpp @@ -143,7 +143,7 @@ void wasm::Linker::ConstructJob(Compilation &C, const JobAction &JA, // When optimizing, if wasm-opt is available, run it. std::string WasmOptPath; - if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { + if (Args.getLastArg(options::OPT_O_Group)) { WasmOptPath = ToolChain.GetProgramPath("wasm-opt"); if (WasmOptPath == "wasm-opt") { WasmOptPath = {}; |