summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2008-12-09 17:04:06 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2008-12-09 17:04:06 +0000
commit10ab44a3a205bba64530ef5123c79584827c6779 (patch)
tree3d74c4e829d3c8e7b30797293a56ebcb3e5acf7b /llvm/lib/Support/CommandLine.cpp
parent7d329740694d9f02e0b5e2266c982561a647c9bc (diff)
downloadbcm5719-llvm-10ab44a3a205bba64530ef5123c79584827c6779.tar.gz
bcm5719-llvm-10ab44a3a205bba64530ef5123c79584827c6779.zip
remove unused var
llvm-svn: 60770
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r--llvm/lib/Support/CommandLine.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp
index 498131390c3..3297810bce6 100644
--- a/llvm/lib/Support/CommandLine.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud