Skip to content

Commit

Permalink
remove invalid assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Dec 24, 2024
1 parent d17f000 commit 666d41e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/url_pattern_helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -876,8 +876,6 @@ std::string escape_regexp_string(std::string_view input) {

std::string process_base_url_string(std::string_view input,
std::string_view type) {
// Assert: input is not null.
ADA_ASSERT_TRUE(!input.empty());
// If type is not "pattern" return input.
if (type != "pattern") {
return std::string(input);
Expand Down

0 comments on commit 666d41e

Please sign in to comment.