From ff2ac78130e283ecacf485b5ba1b7674281dc38b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 24 Mar 2023 11:16:21 +0300 Subject: Fix 'unused lambda capture' warning --- bpkg/system-package-manager-debian.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bpkg/system-package-manager-debian.cxx') 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)); -- cgit v1.1