Skip to content

Commit

Permalink
fix: remove unnecessary state assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Aug 6, 2023
1 parent ec6511e commit d3223a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,6 @@ result_type parse_url(std::string_view user_input,
// If c is U+002F (/) and remaining starts with U+002F (/),
// then set state to special authority ignore slashes state and increase
// pointer by 1.
state = ada::state::SPECIAL_AUTHORITY_IGNORE_SLASHES;
std::string_view view = helpers::substring(url_data, input_position);
if (ada::checkers::begins_with(view, "//")) {
input_position += 2;
Expand Down

0 comments on commit d3223a7

Please sign in to comment.