[llvm-commits] [llvm] r60770 - /llvm/trunk/lib/Support/CommandLine.cpp

Nuno Lopes nunoplopes at sapo.pt
Tue Dec 9 09:04:07 PST 2008


Author: nlopes
Date: Tue Dec  9 11:04:06 2008
New Revision: 60770

URL: http://llvm.org/viewvc/llvm-project?rev=60770&view=rev
Log:
remove unused var

Modified:
    llvm/trunk/lib/Support/CommandLine.cpp

Modified: llvm/trunk/lib/Support/CommandLine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/CommandLine.cpp?rev=60770&r1=60769&r2=60770&view=diff

==============================================================================
--- llvm/trunk/lib/Support/CommandLine.cpp (original)
+++ llvm/trunk/lib/Support/CommandLine.cpp Tue Dec  9 11:04:06 2008
@@ -394,8 +394,6 @@
     argc = static_cast<int>(newArgv.size());
   }
 
-  sys::Path progname(argv[0]);
-
   // Copy the program name into ProgName, making sure not to overflow it.
   std::string ProgName = sys::Path(argv[0]).getLast();
   if (ProgName.size() > 79) ProgName.resize(79);





More information about the llvm-commits mailing list