diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-10-11 11:58:27 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-10-11 11:58:27 +0100 |
commit | 20425b69141b301de9ae696d413565026dceebf7 (patch) | |
tree | 5715ba813fa6662d8a36695a80b2f69ac5940d27 /utils | |
parent | d3970e501aa2da5a4e5b3f705c72682004a92108 (diff) | |
download | netsurf-20425b69141b301de9ae696d413565026dceebf7.tar.gz netsurf-20425b69141b301de9ae696d413565026dceebf7.tar.bz2 |
Ensure non-void functions have a return at the end, even though it shouldn't get there, to squash warning.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/nsurl.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |