[llvm] b917d5e - [llvm-ar] Remove unused variable. NFC.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 06:15:05 PST 2020
Author: Benjamin Kramer
Date: 2020-03-03T15:14:27+01:00
New Revision: b917d5e1a4f73365dc3661495bb99280d80a9551
URL: https://github.com/llvm/llvm-project/commit/b917d5e1a4f73365dc3661495bb99280d80a9551
DIFF: https://github.com/llvm/llvm-project/commit/b917d5e1a4f73365dc3661495bb99280d80a9551.diff
LOG: [llvm-ar] Remove unused variable. NFC.
Added:
Modified:
llvm/tools/llvm-ar/llvm-ar.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp
index 8e7a85f5a9b0..6e1d328320cc 100644
--- a/llvm/tools/llvm-ar/llvm-ar.cpp
+++ b/llvm/tools/llvm-ar/llvm-ar.cpp
@@ -1150,8 +1150,6 @@ static int ar_main(int argc, char **argv) {
cl::ExpandResponseFiles(Saver, getRspQuoting(makeArrayRef(argv, argc)), Argv);
- ArrayRef<const char *> ArgsArr = makeArrayRef(argv, argc);
-
for (ArrayRef<const char *>::iterator ArgIt = Argv.begin();
ArgIt != Argv.end(); ++ArgIt) {
const char *Match = nullptr;
More information about the llvm-commits
mailing list