aboutsummaryrefslogtreecommitdiffstats
path: root/src/uri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uri.c')
-rw-r--r--src/uri.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/uri.c b/src/uri.c
index 443069ec..9856ce45 100644
--- a/src/uri.c
+++ b/src/uri.c
@@ -430,7 +430,6 @@ serd_uri_serialise_relative(const SerdURI* const uri,
{
assert(uri);
assert(sink);
- assert(stream);
size_t len = 0;
const bool relative =
@@ -484,7 +483,7 @@ serd_uri_serialise_relative(const SerdURI* const uri,
size_t
serd_uri_serialise(const SerdURI* const uri, SerdSink sink, void* const stream)
{
+ assert(uri);
assert(sink);
- assert(stream);
return serd_uri_serialise_relative(uri, NULL, NULL, sink, stream);
}