<div dir="ltr">FWIW, I don't think you actually need the if.<div><br></div><div>Peter</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 17, 2018 at 1:21 PM, Teresa Johnson via cfe-commits <span dir="ltr"><<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: tejohnson<br>
Date: Tue Apr 17 13:21:53 2018<br>
New Revision: 330210<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=330210&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project?rev=330210&view=rev</a><br>
Log:<br>
Remove unused variable<br>
<br>
Fixes unused variable error introduced in r330194.<br>
<br>
Modified:<br>
cfe/trunk/lib/Driver/<wbr>ToolChains/Clang.cpp<br>
<br>
Modified: cfe/trunk/lib/Driver/<wbr>ToolChains/Clang.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/Clang.cpp?rev=330210&r1=330209&r2=330210&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/cfe/trunk/lib/Driver/<wbr>ToolChains/Clang.cpp?rev=<wbr>330210&r1=330209&r2=330210&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- cfe/trunk/lib/Driver/<wbr>ToolChains/Clang.cpp (original)<br>
+++ cfe/trunk/lib/Driver/<wbr>ToolChains/Clang.cpp Tue Apr 17 13:21:53 2018<br>
@@ -3267,7 +3267,7 @@ void Clang::ConstructJob(<wbr>Compilation &C,<br>
Args.AddLastArg(CmdArgs, options::OPT_fthinlto_index_<wbr>EQ);<br>
}<br>
<br>
- if (const Arg *A = Args.getLastArg(options::OPT_<wbr>save_temps_EQ))<br>
+ if (Args.getLastArg(options::OPT_<wbr>save_temps_EQ))<br>
Args.AddLastArg(CmdArgs, options::OPT_save_temps_EQ);<br>
<br>
// Embed-bitcode option.<br>
<br>
<br>
______________________________<wbr>_________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-- <div>Peter</div></div></div>
</div>