summaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/world.c b/src/world.c
index e1f40c8..7428354 100644
--- a/src/world.c
+++ b/src/world.c
@@ -291,12 +291,8 @@ lilv_new_uri_relative_to_base(const uint8_t* uri_str,
const uint8_t* base_uri_str)
{
SerdURI base_uri;
- if (serd_uri_parse(base_uri_str, &base_uri)) {
- return SERD_NODE_NULL;
- }
-
- SerdURI ignored;
- return serd_node_new_uri_from_string(uri_str, &base_uri, &ignored);
+ serd_uri_parse(base_uri_str, &base_uri);
+ return serd_node_new_uri_from_string(uri_str, &base_uri, NULL);
}
const uint8_t*