about summary refs log tree commit diff
path: root/third_party/nix/src/nix-copy-closure
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix-copy-closure')
-rw-r--r--third_party/nix/src/nix-copy-closure/nix-copy-closure.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/nix-copy-closure/nix-copy-closure.cc b/third_party/nix/src/nix-copy-closure/nix-copy-closure.cc
index 75768d313c65..3dbe29f2240f 100644
--- a/third_party/nix/src/nix-copy-closure/nix-copy-closure.cc
+++ b/third_party/nix/src/nix-copy-closure/nix-copy-closure.cc
@@ -17,7 +17,7 @@ static int _main(int argc, char** argv) {
     PathSet storePaths;
 
     parseCmdLine(
-        argc, argv, [&](Strings::iterator& arg, const Strings::iterator& _end) {
+        argc, argv, [&](Strings::iterator& arg, const Strings::iterator& end) {
           if (*arg == "--help") {
             showManPage("nix-copy-closure");
           } else if (*arg == "--version") {