diff options
-rw-r--r-- | serd/serd.h | 7 | ||||
-rw-r--r-- | src/node.c | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/serd/serd.h b/serd/serd.h index 91903c7e..f09d2ea8 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -154,13 +154,6 @@ typedef uint32_t SerdStatementFlags; */ typedef enum { /** - The type of a nonexistent node. - - This type is useful as a sentinel, but is never emitted by the reader. - */ - SERD_NOTHING = 0, - - /** Literal value. A literal optionally has either a language, or a datatype (not both). @@ -413,7 +413,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* |