projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3a49cd
)
remove unused var
author
Nuno Lopes
<nunoplopes@sapo.pt>
Tue, 9 Dec 2008 17:04:06 +0000
(17:04 +0000)
committer
Nuno Lopes
<nunoplopes@sapo.pt>
Tue, 9 Dec 2008 17:04:06 +0000
(17:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60770
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/CommandLine.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/CommandLine.cpp
b/lib/Support/CommandLine.cpp
index 498131390c3f1b181f884fa9df488c7c9bff54c9..3297810bce6926cb209546ce689ab53714b4c475 100644
(file)
--- a/
lib/Support/CommandLine.cpp
+++ b/
lib/Support/CommandLine.cpp
@@
-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);