From 7e1f2eda6cef99b46a53e4deb0e44ede5c0e9476 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 1 Jan 2018 13:04:19 +0200 Subject: Get rid of unused lambda captures --- libbpkg/manifest.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbpkg') diff --git a/libbpkg/manifest.cxx b/libbpkg/manifest.cxx index b38f85b..bd50c84 100644 --- a/libbpkg/manifest.cxx +++ b/libbpkg/manifest.cxx @@ -1419,14 +1419,14 @@ namespace bpkg optional& authority, optional& path, optional& query, - optional& fragment) + optional& /*fragment*/) { auto bad_url = [] (const char* d = "invalid URL") { throw invalid_argument (d); }; - auto translate_remote = [&authority, &path, &query, &fragment, &bad_url] () + auto translate_remote = [&authority, &path, &bad_url] () { if (!authority || authority->host.empty ()) bad_url ("invalid host"); -- cgit v1.1