Remove unused variable
authorTeresa Johnson <tejohnson@google.com>
Tue, 17 Apr 2018 20:21:53 +0000 (20:21 +0000)
committerTeresa Johnson <tejohnson@google.com>
Tue, 17 Apr 2018 20:21:53 +0000 (20:21 +0000)
Fixes unused variable error introduced in r330194.

llvm-svn: 330210

clang/lib/Driver/ToolChains/Clang.cpp

index f4e87fa..6de4f6e 100644 (file)
@@ -3267,7 +3267,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
     Args.AddLastArg(CmdArgs, options::OPT_fthinlto_index_EQ);
   }
 
-  if (const Arg *A = Args.getLastArg(options::OPT_save_temps_EQ))
+  if (Args.getLastArg(options::OPT_save_temps_EQ))
     Args.AddLastArg(CmdArgs, options::OPT_save_temps_EQ);
 
   // Embed-bitcode option.