summaryrefslogtreecommitdiffstats
path: root/src/sord.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sord.c')
-rw-r--r--src/sord.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/sord.c b/src/sord.c
index 241e5c9..4d8908c 100644
--- a/src/sord.c
+++ b/src/sord.c
@@ -724,9 +724,6 @@ index_search(ZixTree* db, const SordQuad search_key)
{
ZixTreeIter* iter = NULL;
zix_tree_find(db, (void*)search_key, &iter);
- if (!iter) {
- fprintf(stderr, "SEARCH FAILED\n");
- }
return iter;
}
@@ -861,12 +858,7 @@ sord_lookup_literal(SordWorld* world, SordNode* type,
key.node.flags = 0;
key.node.type = SERD_LITERAL;
- SordNode* id = zix_hash_find(world->literals, &key);
- if (id) {
- return id;
- } else {
- return 0;
- }
+ return zix_hash_find(world->literals, &key);
}
SordNodeType