Remove unneccesary retcode var
authorChris Lattner <sabre@nondot.org>
Thu, 18 Oct 2001 20:33:21 +0000 (20:33 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 18 Oct 2001 20:33:21 +0000 (20:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@905 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llc/llc.cpp

index ff492aa59116835a86543e6870e5ac8ec9f58748..1490cf40d16c2026bcf3585206f8b8c249f35409 100644 (file)
@@ -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;
 }