diff options
author | David Robillard <d@drobilla.net> | 2011-09-28 23:56:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-09-28 23:56:42 +0000 |
commit | b740b22af043444512da70ca15d6e8f7eba61636 (patch) | |
tree | fa6100d1c9ad35f976e6fd6b12377a3ae03eb0c6 /src/sord.c | |
parent | db7df61c02f28a86ebf496436d34a2d327c3ae30 (diff) | |
download | sord-b740b22af043444512da70ca15d6e8f7eba61636.tar.gz sord-b740b22af043444512da70ca15d6e8f7eba61636.tar.bz2 sord-b740b22af043444512da70ca15d6e8f7eba61636.zip |
Tidy.
git-svn-id: http://svn.drobilla.net/sord/trunk@164 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/sord.c')
-rw-r--r-- | src/sord.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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 |