Skip to content

Commit

Permalink
Fix Erlang unused variable warnings.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@985719 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
fdmanana committed Aug 15, 2010
1 parent b94a613 commit 0eaf3b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/couchdb/couch_query_servers.erl
Expand Up @@ -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} ->
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0eaf3b1

Please sign in to comment.