diff options
-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"); |