diff options
Diffstat (limited to 'src/writer.c')
-rw-r--r-- | src/writer.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/writer.c b/src/writer.c index 58d7e64f..2b127d04 100644 --- a/src/writer.c +++ b/src/writer.c @@ -946,6 +946,9 @@ serd_writer_write_statement(SerdWriter* writer, const SerdNode* lang) { assert(writer); + assert(subject); + assert(predicate); + assert(object); SerdStatus st = SERD_SUCCESS; @@ -1145,7 +1148,7 @@ serd_writer_new(SerdSyntax syntax, void* stream) { assert(env); - assert(sink); + assert(ssink); const WriteContext context = WRITE_CONTEXT_NULL; SerdWriter* writer = (SerdWriter*)calloc(1, sizeof(SerdWriter)); @@ -1239,6 +1242,10 @@ serd_writer_set_prefix(SerdWriter* writer, const SerdNode* name, const SerdNode* uri) { + assert(writer); + assert(name); + assert(uri); + SerdStatus st = SERD_SUCCESS; TRY(st, serd_env_set_prefix(writer->env, name, uri)); |