diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-11-07 21:33:09 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-11-07 21:33:09 +0000 |
commit | 47ee3391f6af710b7c6c999c9c61379b021be471 (patch) | |
tree | 2288b93bcc8a5b695dff90626a4ed502b597eaa8 /llvm/tools/llvm-ar/llvm-ar.cpp | |
parent | 5898e09057591c1c5c1a97fd79eda56d72393f4a (diff) | |
download | bcm5719-llvm-47ee3391f6af710b7c6c999c9c61379b021be471.tar.gz bcm5719-llvm-47ee3391f6af710b7c6c999c9c61379b021be471.zip |
Remove unused variable.
llvm-svn: 221549
Diffstat (limited to 'llvm/tools/llvm-ar/llvm-ar.cpp')
-rw-r--r-- | llvm/tools/llvm-ar/llvm-ar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp index 679b23e9198..8ee66f6a692 100644 --- a/llvm/tools/llvm-ar/llvm-ar.cpp +++ b/llvm/tools/llvm-ar/llvm-ar.cpp @@ -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!"); |