aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/cc/windows-rpath.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/windows-rpath.cxx b/build2/cc/windows-rpath.cxx
index 2d2e100..d81e3b0 100644
--- a/build2/cc/windows-rpath.cxx
+++ b/build2/cc/windows-rpath.cxx
@@ -295,7 +295,7 @@ namespace build2
{
const scope& as (t.weak_scope ()); // Amalgamation.
- auto link = [&as, &ad] (const path& f, const path& l)
+ auto link = [&as] (const path& f, const path& l)
{
auto print = [&f, &l] (const char* cmd)
{