remove unused var

llvm-svn: 60770
This commit is contained in:
Nuno Lopes 2008-12-09 17:04:06 +00:00
parent 7d32974069
commit 10ab44a3a2
1 changed files with 0 additions and 2 deletions

View File

@ -394,8 +394,6 @@ void cl::ParseCommandLineOptions(int argc, char **argv,
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);