From 20425b69141b301de9ae696d413565026dceebf7 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 11 Oct 2012 11:58:27 +0100 Subject: Ensure non-void functions have a return at the end, even though it shouldn't get there, to squash warning. --- utils/nsurl.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utils') 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; } -- cgit v1.2.3