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:
Michael Drake 2012-10-11 11:58:27 +01:00
parent d3970e501a
commit 20425b6914

View File

@ -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;
}