mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Remove unused variable.
llvm-svn: 221549
This commit is contained in:
parent
95ca4876af
commit
1c1edbf2dd
@ -1016,7 +1016,7 @@ static void runMRIScript() {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
static int ar_main(char **argv) {
|
||||
static int ar_main() {
|
||||
// Do our own parsing of the command line because the CommandLine utility
|
||||
// can't handle the grouped positional parameters without a dash.
|
||||
ArchiveOperation Operation = parseCommandLine();
|
||||
@ -1050,7 +1050,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
StringRef Stem = sys::path::stem(ToolName);
|
||||
if (Stem.find("ar") != StringRef::npos)
|
||||
return ar_main(argv);
|
||||
return ar_main();
|
||||
if (Stem.find("ranlib") != StringRef::npos)
|
||||
return ranlib_main();
|
||||
fail("Not ranlib or ar!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user