aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.c')
-rw-r--r--src/writer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/writer.c b/src/writer.c
index 5f08df62..8010dba3 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -166,6 +166,8 @@ write_node(SerdWriter writer,
SerdChunk uri_prefix;
SerdChunk uri_suffix;
switch (node->type) {
+ case SERD_NOTHING:
+ return false;
case SERD_ANON_BEGIN:
if (writer->syntax != SERD_NTRIPLES) {
++writer->indent;