diff options
author | David Robillard <d@drobilla.net> | 2011-02-10 21:41:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-10 21:41:09 +0000 |
commit | 7e6fa773dba243e3cf11b98d223f6d417e73aa66 (patch) | |
tree | f2eb6ce20fc706ecc5c0849d899c32d373771971 /src/writer.c | |
parent | dccceaf112ac67460532dcced9007462bea3a0de (diff) | |
download | serd-7e6fa773dba243e3cf11b98d223f6d417e73aa66.tar.gz serd-7e6fa773dba243e3cf11b98d223f6d417e73aa66.tar.bz2 serd-7e6fa773dba243e3cf11b98d223f6d417e73aa66.zip |
Make serd_uri_resolve return void, since it has no error case anyway.
git-svn-id: http://svn.drobilla.net/serd/trunk@96 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/writer.c')
-rw-r--r-- | src/writer.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/writer.c b/src/writer.c index dd1d3f7a..44d88b99 100644 --- a/src/writer.c +++ b/src/writer.c @@ -220,12 +220,11 @@ write_node(SerdWriter writer, SerdURI uri; if (serd_uri_parse(node->buf, &uri)) { SerdURI abs_uri; - if (serd_uri_resolve(&uri, &writer->base_uri, &abs_uri)) { - writer->sink("<", 1, writer->stream); - serd_uri_serialise(&abs_uri, writer->sink, writer->stream); - writer->sink(">", 1, writer->stream); - return true; - } + serd_uri_resolve(&uri, &writer->base_uri, &abs_uri); + writer->sink("<", 1, writer->stream); + serd_uri_serialise(&abs_uri, writer->sink, writer->stream); + writer->sink(">", 1, writer->stream); + return true; } } else { writer->sink("<", 1, writer->stream); |