diff options
author | David Robillard <d@drobilla.net> | 2011-12-24 22:52:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-24 22:52:09 +0000 |
commit | bfd550f201a9e153cd835e5ad0a0018897d1824a (patch) | |
tree | 025ceb7a6a5ec1f230a61a8e6a4213c5d6ea1680 /src/serdi.c | |
parent | 15b033080ce2ebdd16fb01073bb5a5cf976527bb (diff) | |
download | serd-bfd550f201a9e153cd835e5ad0a0018897d1824a.tar.gz serd-bfd550f201a9e153cd835e5ad0a0018897d1824a.tar.bz2 serd-bfd550f201a9e153cd835e5ad0a0018897d1824a.zip |
Remove pointless check.
Gracefully handle NULL strings in serd_node_new_uri_from_string().
git-svn-id: http://svn.drobilla.net/serd/trunk@272 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/serdi.c b/src/serdi.c index 7a3ef301..3fbc9165 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -168,11 +168,6 @@ main(int argc, char** argv) SerdNode base_uri_node = serd_node_new_uri_from_string( base_uri_str, &base_uri, &base_uri); - if (!base_uri_node.buf) { - fprintf(stderr, "Invalid base URI <%s>\n", base_uri_str); - return 1; - } - FILE* out_fd = stdout; SerdEnv* env = serd_env_new(&base_uri_node); |