aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-12-03 13:23:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-12-03 13:23:58 +0200
commitdcd8ccd86ca97de5293efc50f98d7072ee359e4c (patch)
tree35997ce77f880d359af4f913f3892f23e237c7e1
parent82e9227262a41bfa740952659b3b91d2d99e984e (diff)
Get rid of unused lambda captures
-rw-r--r--libbuild2/adhoc-rule-buildscript.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/adhoc-rule-buildscript.cxx b/libbuild2/adhoc-rule-buildscript.cxx
index ea4ab60..3f3d59e 100644
--- a/libbuild2/adhoc-rule-buildscript.cxx
+++ b/libbuild2/adhoc-rule-buildscript.cxx
@@ -572,7 +572,7 @@ namespace build2
size_t& skip_count (mdb->skip_count);
auto add = [&trace, what,
- a, &bs, &t, &pts, pts_n = mdb->pts_n,
+ a, &bs, &t,
&byp, &map_ext,
&skip_count, mt] (path fp) -> optional<bool>
{