]> granicus.if.org Git - clang/commitdiff
driver: fix unused variable warning
authorDylan Noblesmith <nobled@dreamwidth.org>
Mon, 26 Dec 2011 19:29:47 +0000 (19:29 +0000)
committerDylan Noblesmith <nobled@dreamwidth.org>
Mon, 26 Dec 2011 19:29:47 +0000 (19:29 +0000)
from r147218.

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

tools/driver/cc1as_main.cpp

index 4591a36873024ee8edde6e6a6263690768134173..8ddcc47896342ce143c5ffddd373ccf3037f614e 100644 (file)
@@ -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,