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");
   }


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to