From c5b73913e62926a8491e1e70d6bb2a95133e1baa Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 14 May 2018 19:07:48 +0300 Subject: Fix 'unused lambda capture' warning --- bpkg/pkg-command.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bpkg/pkg-command.cxx b/bpkg/pkg-command.cxx index bf7107e..93e1779 100644 --- a/bpkg/pkg-command.cxx +++ b/bpkg/pkg-command.cxx @@ -53,7 +53,7 @@ namespace bpkg // string bspec; - auto run = [&trace, &c, &o, &lvars, &gvars, &bspec] ( + auto run = [&trace, &o, &lvars, &gvars, &bspec] ( const strings& vars = strings ()) { if (!bspec.empty ()) -- cgit v1.1