aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-01-01 13:04:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-01-01 13:04:19 +0200
commit7e1f2eda6cef99b46a53e4deb0e44ede5c0e9476 (patch)
tree48710a16a11262980b25522be247bb900acf9975
parent87392531922fa91f05672eb4806735745b195588 (diff)
Get rid of unused lambda captures
-rw-r--r--libbpkg/manifest.cxx4
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");