aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/model.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/model.c b/src/model.c
index 1b1c144a..22bbfcdd 100644
--- a/src/model.c
+++ b/src/model.c
@@ -561,9 +561,7 @@ serd_model_find(const SerdModel* const model,
const SerdCursor cursor = serd_model_search(model, s, p, o, g);
- return zix_btree_iter_is_end(cursor.iter)
- ? NULL
- : serd_cursor_copy(model->allocator, &cursor);
+ return serd_cursor_copy(model->allocator, &cursor);
}
const SerdNode*