aboutsummaryrefslogtreecommitdiff
path: root/bdep/publish.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/publish.cxx')
-rw-r--r--bdep/publish.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bdep/publish.cxx b/bdep/publish.cxx
index c27609a..399b04e 100644
--- a/bdep/publish.cxx
+++ b/bdep/publish.cxx
@@ -1076,7 +1076,7 @@ namespace bdep
// Note that until this is done the branch can not be checked out in any
// other worktree.
//
- auto worktree_remove = [&prj, &wd, &wd_rm, &worktree_prune] ()
+ auto worktree_remove = [&wd, &wd_rm, &worktree_prune] ()
{
if (exists (wd))
{