summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_key_tree.erl
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-07-04 15:17:44 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-07-04 15:17:44 +0000
commitc25c1bd826273c9ad4d1c506bd33f34bf8502056 (patch)
tree5558512c9fed0f435014bf26435142ecd62ff497 /src/couchdb/couch_key_tree.erl
parent6dec68c318ae2df845309f00d75cab05c11634f3 (diff)
last three dialyzer recommended cleanups
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791136 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_key_tree.erl')
-rw-r--r--src/couchdb/couch_key_tree.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_key_tree.erl b/src/couchdb/couch_key_tree.erl
index 87313ff0..d08f5ede 100644
--- a/src/couchdb/couch_key_tree.erl
+++ b/src/couchdb/couch_key_tree.erl
@@ -191,7 +191,7 @@ get_key_leafs_simple(Pos, [{Key, _Value, SubTree}=Tree | RestTree], KeysToGet, K
{LeafsFound ++ RestLeafsFound, KeysRemaining};
KeysToGet2 ->
LeafsFound = get_all_leafs_simple(Pos, [Tree], KeyPathAcc),
- LeafKeysFound = [LeafKeyFound || {LeafKeyFound, _, _} <- LeafsFound],
+ LeafKeysFound = [LeafKeyFound || {LeafKeyFound, _} <- LeafsFound],
KeysToGet2 = KeysToGet2 -- LeafKeysFound,
{RestLeafsFound, KeysRemaining} = get_key_leafs_simple(Pos, RestTree, KeysToGet2, KeyPathAcc),
{LeafsFound ++ RestLeafsFound, KeysRemaining}