aboutsummaryrefslogtreecommitdiff
path: root/bpkg/system-package-manager-debian.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-03-24 11:16:21 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-03-24 12:09:24 +0300
commitff2ac78130e283ecacf485b5ba1b7674281dc38b (patch)
tree0a53b6f2cdeb8eeb9307c73363ca8629ffee1fcd /bpkg/system-package-manager-debian.cxx
parentcc664e28b748423c5a51e0092644f3c92cf0859e (diff)
Fix 'unused lambda capture' warning
Diffstat (limited to 'bpkg/system-package-manager-debian.cxx')
-rw-r--r--bpkg/system-package-manager-debian.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/bpkg/system-package-manager-debian.cxx b/bpkg/system-package-manager-debian.cxx
index e0b2bce..ca44658 100644
--- a/bpkg/system-package-manager-debian.cxx
+++ b/bpkg/system-package-manager-debian.cxx
@@ -1025,8 +1025,7 @@ namespace bpkg
// Failed that, assume the package to be a binless library and leave the
// main member of the package_status object empty.
//
- auto guess_main = [this, &pn, &trace] (package_status& s,
- const string& ver)
+ auto guess_main = [this, &trace] (package_status& s, const string& ver)
{
string depends (apt_cache_show (s.dev, ver));