aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-18 20:33:21 +0000
committerChris Lattner <sabre@nondot.org>2001-10-18 20:33:21 +0000
commitd7477ee9d97f80fd5dac252dad4f1c1f83660115 (patch)
tree117857cadc81d260dadbc45c6c3a69b0abd6ebd2 /tools
parent2197d21c3bbe00488b8fc218992ab9fa30ea6fac (diff)
downloadexternal_llvm-d7477ee9d97f80fd5dac252dad4f1c1f83660115.zip
external_llvm-d7477ee9d97f80fd5dac252dad4f1c1f83660115.tar.gz
external_llvm-d7477ee9d97f80fd5dac252dad4f1c1f83660115.tar.bz2
Remove unneccesary retcode var
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@905 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llc/llc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index ff492aa..1490cf4 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -101,7 +101,6 @@ public:
//===---------------------------------------------------------------------===//
int main(int argc, char **argv) {
- int retCode = 0;
cl::ParseCommandLineOptions(argc, argv, " llvm system compiler\n");
// Allocate a target... in the future this will be controllable on the
@@ -191,7 +190,7 @@ int main(int argc, char **argv) {
// runAllPasses frees the Pass objects after runAllPasses completes.
Pass::runAllPassesAndFree(M.get(), Passes);
- return retCode;
+ return 0;
}