1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 06:01:48 +02:00

Remove unused variable

(cherry picked from commit 1a38e62a09)
This commit is contained in:
Eelco Dolstra 2025-01-09 16:38:33 +01:00
parent e1178b8a39
commit 21fe544ed9

View file

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