diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2010-08-15 17:54:18 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2010-08-15 17:54:18 +0000 |
commit | 0eaf3b12c5da1fdc8d19e08e1768239204418aa2 (patch) | |
tree | 006349dda317549320dc9acf84f6bc04e531825b /src/couchdb/couch_query_servers.erl | |
parent | b94a613f2cdb3966ab30a8036af41943091f4de4 (diff) |
Fix Erlang unused variable warnings.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@985719 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_query_servers.erl')
-rw-r--r-- | src/couchdb/couch_query_servers.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_query_servers.erl b/src/couchdb/couch_query_servers.erl index 0e00e3e2..92c30f82 100644 --- a/src/couchdb/couch_query_servers.erl +++ b/src/couchdb/couch_query_servers.erl @@ -398,7 +398,7 @@ service_waiting({{#doc{body={Props}}=DDoc, DDocKey}, From}, Server) -> ok end; service_waiting({{Lang}, From}, Server) -> - case lang_proc(Lang, Server, fun([P|Procs]) -> + case lang_proc(Lang, Server, fun([P|_Procs]) -> {ok, P} end) of {ok, Proc} -> @@ -426,7 +426,7 @@ lang_proc(Lang, #qserver{ case (catch new_process(Langs, LangLimits, Lang)) of {ok, Proc} -> add_value(PidProcs, Proc#proc.pid, Proc), - {ok, Proc2} = PickFun([Proc]); + PickFun([Proc]); ErrorOrWait -> ErrorOrWait end |