]> granicus.if.org Git - clang/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330210 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains/Clang.cpp

index f4e87fa1f494565eced9a45f1fb6af7c7e667128..6de4f6ea620d8ff9a4f42ecb356a9af1d38bbc82 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.