summaryrefslogtreecommitdiffstats
path: root/tools/driver
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2011-12-26 19:29:47 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2011-12-26 19:29:47 +0000
commit89ea416d3f75a78a8bf5398e316e2a6281ed57b7 (patch)
treee7cffad0ff6a3ee66f8b9753370ef0a8b2b1ecab /tools/driver
parenta11d3098624dd9c136c713ff8a513150ce88580e (diff)
driver: fix unused variable warning
from r147218. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/driver')
-rw-r--r--tools/driver/cc1as_main.cpp2
1 files changed, 1 insertions, 1 deletions
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,