aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule-adhoc-buildscript.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-09 14:12:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-09 14:12:11 +0200
commitc991cd8fa9f534817428a5523fc529518e8e1738 (patch)
tree79abab4471474ad00ad12c0bc9d1a683c1c31867 /libbuild2/rule-adhoc-buildscript.cxx
parent7ff233863b9226a59acf49092076fbec541bb11d (diff)
Drop unused lambda
Diffstat (limited to 'libbuild2/rule-adhoc-buildscript.cxx')
-rw-r--r--libbuild2/rule-adhoc-buildscript.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/libbuild2/rule-adhoc-buildscript.cxx b/libbuild2/rule-adhoc-buildscript.cxx
index 1555c71..a4d7408 100644
--- a/libbuild2/rule-adhoc-buildscript.cxx
+++ b/libbuild2/rule-adhoc-buildscript.cxx
@@ -413,19 +413,6 @@ namespace build2
//
if (!script.depdb_clear)
{
- auto hash = [ns = names ()] (sha256& cs, const target& t) mutable
- {
- if (const path_target* pt = t.is_a<path_target> ())
- cs.append (pt->path ().string ());
- else
- {
- ns.clear ();
- t.as_name (ns);
- for (const name& n: ns)
- to_checksum (cs, n);
- }
- };
-
sha256 tcs;
for (const target* m (&t); m != nullptr; m = m->adhoc_member)
hash_target (tcs, *m);