aboutsummaryrefslogtreecommitdiff
path: root/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
commit34283c8303d6ad506557198dce677a1d6610b31f (patch)
treef54b66ce92ea95ae6fc63b5afb94412f8f8ed763 /lib/Support/CommandLine.cpp
parente3a49cd944ad41eba5a594f1de773d531ad25403 (diff)
remove unused var
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60770 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/CommandLine.cpp')
-rw-r--r--lib/Support/CommandLine.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp
index 498131390c..3297810bce 100644
--- 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);