aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-12-19 10:21:30 -0500
committerDavid Robillard <d@drobilla.net>2021-03-07 15:32:24 -0500
commit194d6f42583745c3fde6387b14abab2311b4f0b7 (patch)
tree987213e9427abb56b938c1cd98cc336a09f4c2b9 /src
parentb2b4fa05b73c6eee51ee9db59726fc404198111a (diff)
downloadserd-194d6f42583745c3fde6387b14abab2311b4f0b7.tar.gz
serd-194d6f42583745c3fde6387b14abab2311b4f0b7.tar.bz2
serd-194d6f42583745c3fde6387b14abab2311b4f0b7.zip
Remove SERD_NOTHING node type
Diffstat (limited to 'src')
-rw-r--r--src/env.c1
-rw-r--r--src/writer.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/env.c b/src/env.c
index c4744885..f88b8ab1 100644
--- a/src/env.c
+++ b/src/env.c
@@ -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;
}