diff options
author | David Robillard <d@drobilla.net> | 2024-06-24 08:04:39 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-06-24 08:22:43 -0400 |
commit | 570b40e58eed90c5ec747c44e791c5321c2ea604 (patch) | |
tree | 92117aa4c2cf318d9c6e63d8630de732b4df8c03 /src/uri.c | |
parent | d2663582ca9305a36f9107cf95b951393a1563dc (diff) | |
download | serd-570b40e58eed90c5ec747c44e791c5321c2ea604.tar.gz serd-570b40e58eed90c5ec747c44e791c5321c2ea604.tar.bz2 serd-570b40e58eed90c5ec747c44e791c5321c2ea604.zip |
Clean up nonnull parameter assertions
Diffstat (limited to 'src/uri.c')
-rw-r--r-- | src/uri.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); } |