From: Dylan Noblesmith Date: Mon, 26 Dec 2011 19:29:47 +0000 (+0000) Subject: driver: fix unused variable warning X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89ea416d3f75a78a8bf5398e316e2a6281ed57b7;p=clang driver: fix unused variable warning from r147218. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147278 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/driver/cc1as_main.cpp b/tools/driver/cc1as_main.cpp index 4591a36873..8ddcc47896 100644 --- a/tools/driver/cc1as_main.cpp +++ b/tools/driver/cc1as_main.cpp @@ -214,7 +214,7 @@ bool AssemblerInvocation::CreateFromArgs(AssemblerInvocation &Opts, Opts.RelaxAll = Args->hasArg(OPT_relax_all); Opts.NoExecStack = Args->hasArg(OPT_no_exec_stack); - return true; + return Success; } static formatted_raw_ostream *GetOutputStream(AssemblerInvocation &Opts,