diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-01-01 13:04:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-01-01 13:04:19 +0200 |
commit | 7e1f2eda6cef99b46a53e4deb0e44ede5c0e9476 (patch) | |
tree | 48710a16a11262980b25522be247bb900acf9975 | |
parent | 87392531922fa91f05672eb4806735745b195588 (diff) |
Get rid of unused lambda captures
-rw-r--r-- | libbpkg/manifest.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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_type>& authority, optional<path_type>& path, optional<string_type>& query, - optional<string_type>& fragment) + optional<string_type>& /*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"); |