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>2020-06-21 18:12:03 +0200
commitafdb3664eeddd1285473ce5c5bbc5db2fe62b6fc (patch)
tree14fa8681e1c4af9c1e1d1076b5842d30bc10475a /src
parent9789c286f6efa8cbbe44a14cdea530744c91f067 (diff)
downloadserd-afdb3664eeddd1285473ce5c5bbc5db2fe62b6fc.tar.gz
serd-afdb3664eeddd1285473ce5c5bbc5db2fe62b6fc.tar.bz2
serd-afdb3664eeddd1285473ce5c5bbc5db2fe62b6fc.zip
Remove SERD_NOTHING node type
Diffstat (limited to 'src')
-rw-r--r--src/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.c b/src/node.c
index 2e792fb8..256b710d 100644
--- a/src/node.c
+++ b/src/node.c
@@ -418,7 +418,7 @@ serd_node_new_blob(const void* buf, size_t size, bool wrap_lines)
SerdType
serd_node_get_type(const SerdNode* node)
{
- return node ? node->type : SERD_NOTHING;
+ return node->type;
}
const char*