diff options
author | David Robillard <d@drobilla.net> | 2019-12-19 10:21:30 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-07 15:32:24 -0500 |
commit | 194d6f42583745c3fde6387b14abab2311b4f0b7 (patch) | |
tree | 987213e9427abb56b938c1cd98cc336a09f4c2b9 /src | |
parent | b2b4fa05b73c6eee51ee9db59726fc404198111a (diff) | |
download | serd-194d6f42583745c3fde6387b14abab2311b4f0b7.tar.gz serd-194d6f42583745c3fde6387b14abab2311b4f0b7.tar.bz2 serd-194d6f42583745c3fde6387b14abab2311b4f0b7.zip |
Remove SERD_NOTHING node type
Diffstat (limited to 'src')
-rw-r--r-- | src/env.c | 1 | ||||
-rw-r--r-- | src/writer.c | 3 |
2 files changed, 0 insertions, 4 deletions
@@ -222,7 +222,6 @@ SerdNode* serd_env_expand_node(const SerdEnv* env, const SerdNode* node) { switch (node->type) { - case SERD_NOTHING: case SERD_LITERAL: break; case SERD_URI: { diff --git a/src/writer.c b/src/writer.c index dd16e732..6df55ada 100644 --- a/src/writer.c +++ b/src/writer.c @@ -737,8 +737,6 @@ write_node(SerdWriter* writer, { bool ret = false; switch (node->type) { - case SERD_NOTHING: - break; case SERD_LITERAL: ret = write_literal(writer, node, datatype, lang, flags); break; @@ -752,7 +750,6 @@ write_node(SerdWriter* writer, ret = write_blank(writer, node, field, flags); break; } - writer->last_sep = SEP_NONE; return ret; } |