1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

Remove unused variable

This commit is contained in:
Eelco Dolstra 2025-01-09 16:38:33 +01:00
parent 5f7b535b81
commit 1a38e62a09

View file

@ -22,7 +22,6 @@ ParsedURL parseURL(const std::string & url)
std::smatch match; std::smatch match;
if (std::regex_match(url, match, uriRegex)) { if (std::regex_match(url, match, uriRegex)) {
auto & base = match[1];
std::string scheme = match[2]; std::string scheme = match[2];
auto authority = match[3].matched auto authority = match[3].matched
? std::optional<std::string>(match[3]) : std::nullopt; ? std::optional<std::string>(match[3]) : std::nullopt;