Skip to content

Commit d3223a7

Browse files
committed
fix: remove unnecessary state assignment
1 parent ec6511e commit d3223a7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/parser.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,6 @@ result_type parse_url(std::string_view user_input,
516516
// If c is U+002F (/) and remaining starts with U+002F (/),
517517
// then set state to special authority ignore slashes state and increase
518518
// pointer by 1.
519-
state = ada::state::SPECIAL_AUTHORITY_IGNORE_SLASHES;
520519
std::string_view view = helpers::substring(url_data, input_position);
521520
if (ada::checkers::begins_with(view, "//")) {
522521
input_position += 2;

0 commit comments

Comments
 (0)