diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-02-28 22:18:25 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-02-28 22:18:49 +0100 |
| commit | b5143b28554608102d1ddce8aa08c37e11c858d8 (patch) | |
| tree | 2cf5732c1b6bff3208e33b34cb0189b1c2aa2d59 /src | |
| parent | e17f02543886c8c4bd8472984457de23035b34c6 (diff) | |
Workaround warning in GCC
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)) { |
