couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r985719 - /couchdb/trunk/src/couchdb/couch_query_servers.erl
Date Sun, 15 Aug 2010 17:54:18 GMT
Author: fdmanana
Date: Sun Aug 15 17:54:18 2010
New Revision: 985719

URL: http://svn.apache.org/viewvc?rev=985719&view=rev
Log:
Fix Erlang unused variable warnings.

Modified:
    couchdb/trunk/src/couchdb/couch_query_servers.erl

Modified: couchdb/trunk/src/couchdb/couch_query_servers.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_query_servers.erl?rev=985719&r1=985718&r2=985719&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_query_servers.erl (original)
+++ couchdb/trunk/src/couchdb/couch_query_servers.erl Sun Aug 15 17:54:18 2010
@@ -398,7 +398,7 @@ service_waiting({{#doc{body={Props}}=DDo
         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



Mime
View raw message