diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/url.cc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -284,6 +284,10 @@ bool UrlImpl::relative(std::string const& url, Url const* base) { path-empty = 0<pchar> */ start = pos; + } else { + // cannot happen + assert(false); + start = pos; } while (true) { if (is_unreserved(*pos)) { |
