summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-10-06 14:38:00 -0400
committerDavid Robillard <d@drobilla.net>2024-10-11 14:10:27 -0400
commita07a8818f22bfa6b467093f1efd287e86983fdf1 (patch)
tree00ae21a9c26047b1d090b5ad15e5173426dd89f5
parent422a0cbd74a121439366217a9723389442c822f6 (diff)
downloadlilv-a07a8818f22bfa6b467093f1efd287e86983fdf1.tar.gz
lilv-a07a8818f22bfa6b467093f1efd287e86983fdf1.tar.bz2
lilv-a07a8818f22bfa6b467093f1efd287e86983fdf1.zip
Remove redundant conditional
-rw-r--r--src/world.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.c b/src/world.c
index b0ef24d..b6bdf85 100644
--- a/src/world.c
+++ b/src/world.c
@@ -264,7 +264,7 @@ lilv_world_get(LilvWorld* world,
SordNode* snode = sord_get(world->model,
subject ? subject->node : NULL,
predicate ? predicate->node : NULL,
- object ? object->node : NULL,
+ object->node,
NULL);
LilvNode* lnode = lilv_node_new_from_node(world, snode);
sord_node_free(world->world, snode);