mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
remove unused var
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60770 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -394,8 +394,6 @@ void cl::ParseCommandLineOptions(int argc, char **argv,
|
|||||||
argc = static_cast<int>(newArgv.size());
|
argc = static_cast<int>(newArgv.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
sys::Path progname(argv[0]);
|
|
||||||
|
|
||||||
// Copy the program name into ProgName, making sure not to overflow it.
|
// Copy the program name into ProgName, making sure not to overflow it.
|
||||||
std::string ProgName = sys::Path(argv[0]).getLast();
|
std::string ProgName = sys::Path(argv[0]).getLast();
|
||||||
if (ProgName.size() > 79) ProgName.resize(79);
|
if (ProgName.size() > 79) ProgName.resize(79);
|
||||||
|
Reference in New Issue
Block a user