mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 04:26:50 +03:00
Ensure non-void functions have a return at the end, even though it shouldn't get there, to squash warning.
This commit is contained in:
parent
d3970e501a
commit
20425b6914
@ -1483,6 +1483,8 @@ lwc_string *nsurl_get_component(const nsurl *url, nsurl_component part)
|
||||
LOG(("Unsupported value passed to part param."));
|
||||
assert(0);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@ -1547,6 +1549,8 @@ bool nsurl_has_component(const nsurl *url, nsurl_component part)
|
||||
LOG(("Unsupported value passed to part param."));
|
||||
assert(0);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user