Skip to content

Commit 516d2a2

Browse files
authored
[NFC] Warning cleanup (#11831)
Unused variable - clean it up.
1 parent 2c117d7 commit 516d2a2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6114,10 +6114,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
61146114
A->render(Args, CmdArgs);
61156115
}
61166116

6117-
if (Arg *A = Args.getLastArg(options::OPT_faltmathlib_EQ)) {
6118-
StringRef Name = A->getValue();
6117+
if (Arg *A = Args.getLastArg(options::OPT_faltmathlib_EQ))
61196118
A->render(Args, CmdArgs);
6120-
}
61216119

61226120
if (Args.hasFlag(options::OPT_fmerge_all_constants,
61236121
options::OPT_fno_merge_all_constants, false))

0 commit comments

Comments
 (0)