[clang] 304d30b - [clang] Fix warning about unused variable [NFC]
Mikael Holmen via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 3 22:29:09 PST 2022
Author: Mikael Holmen
Date: 2022-01-04T07:28:16+01:00
New Revision: 304d30bc594bf99bba9ee780007ac78755a9ff7a
URL: https://github.com/llvm/llvm-project/commit/304d30bc594bf99bba9ee780007ac78755a9ff7a
DIFF: https://github.com/llvm/llvm-project/commit/304d30bc594bf99bba9ee780007ac78755a9ff7a.diff
LOG: [clang] Fix warning about unused variable [NFC]
Added:
Modified:
clang/lib/Driver/ToolChains/Clang.cpp
Removed:
################################################################################
diff --git a/clang/lib/Driver/ToolChains/Clang.cpp b/clang/lib/Driver/ToolChains/Clang.cpp
index 3a4e9153689e2..d4afefcb24a98 100644
--- a/clang/lib/Driver/ToolChains/Clang.cpp
+++ b/clang/lib/Driver/ToolChains/Clang.cpp
@@ -1929,7 +1929,7 @@ void Clang::AddMIPSTargetArgs(const ArgList &Args,
}
}
- if (Arg *A = Args.getLastArg(options::OPT_mfix4300)) {
+ if (Args.getLastArg(options::OPT_mfix4300)) {
CmdArgs.push_back("-mllvm");
CmdArgs.push_back("-mfix4300");
}
More information about the cfe-commits
mailing list