From c991cd8fa9f534817428a5523fc529518e8e1738 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 9 Jun 2020 14:12:11 +0200 Subject: Drop unused lambda --- libbuild2/rule-adhoc-buildscript.cxx | 13 ------------- 1 file changed, 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 ()) - 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); -- cgit v1.1