diff --git a/utils/nsurl.c b/utils/nsurl.c index 7236fcba4..006977111 100644 --- a/utils/nsurl.c +++ b/utils/nsurl.c @@ -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; }