summaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-07-14 15:06:38 -0400
committerDavid Robillard <d@drobilla.net>2016-07-14 15:47:47 -0400
commit84ec2ee47279f87b4ed9ee44c9153f52a97732da (patch)
tree33ff024e51103ce035e51206ba1d8ba609769a30 /src/world.c
parent9da2f26c8a8fcd533c61e9cfafb92a653131f285 (diff)
downloadlilv-84ec2ee47279f87b4ed9ee44c9153f52a97732da.tar.gz
lilv-84ec2ee47279f87b4ed9ee44c9153f52a97732da.tar.bz2
lilv-84ec2ee47279f87b4ed9ee44c9153f52a97732da.zip
Clean up and remove dead code
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*