summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 23c537b..daeec69 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -160,7 +160,7 @@ event_statement(void* handle,
if (state->graph_uri_node) {
assert(graph->type == SERD_NOTHING);
tup[3] = sord_node_copy(state->graph_uri_node);
- } else if (graph && graph->buf) {
+ } else {
tup[3] = (graph && graph->buf)
? sord_node_from_serd_node(state, graph, NULL, NULL)
: NULL;