mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-26 07:34:14 +00:00
Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221549 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
35c163020a
commit
3fc63a67f2
@ -1016,7 +1016,7 @@ static void runMRIScript() {
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ar_main(char **argv) {
|
static int ar_main() {
|
||||||
// Do our own parsing of the command line because the CommandLine utility
|
// Do our own parsing of the command line because the CommandLine utility
|
||||||
// can't handle the grouped positional parameters without a dash.
|
// can't handle the grouped positional parameters without a dash.
|
||||||
ArchiveOperation Operation = parseCommandLine();
|
ArchiveOperation Operation = parseCommandLine();
|
||||||
@ -1050,7 +1050,7 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
StringRef Stem = sys::path::stem(ToolName);
|
StringRef Stem = sys::path::stem(ToolName);
|
||||||
if (Stem.find("ar") != StringRef::npos)
|
if (Stem.find("ar") != StringRef::npos)
|
||||||
return ar_main(argv);
|
return ar_main();
|
||||||
if (Stem.find("ranlib") != StringRef::npos)
|
if (Stem.find("ranlib") != StringRef::npos)
|
||||||
return ranlib_main();
|
return ranlib_main();
|
||||||
fail("Not ranlib or ar!");
|
fail("Not ranlib or ar!");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user