couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r967254 - /couchdb/trunk/src/couchdb/couch_httpd_db.erl
Date Fri, 23 Jul 2010 20:43:30 GMT
Author: fdmanana
Date: Fri Jul 23 20:43:30 2010
New Revision: 967254

URL: http://svn.apache.org/viewvc?rev=967254&view=rev
Log:
Removed warnings about unused vairables.

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

Modified: couchdb/trunk/src/couchdb/couch_httpd_db.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd_db.erl?rev=967254&r1=967253&r2=967254&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_httpd_db.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd_db.erl Fri Jul 23 20:43:30 2010
@@ -144,7 +144,7 @@ handle_design_req(#httpd{
     % load ddoc
     DesignId = <<"_design/", DesignName/binary>>,
     DDoc = couch_httpd_db:couch_doc_open(Db, DesignId, nil, []),
-    Handler = couch_util:dict_find(Action, DesignUrlHandlers, fun(A,B,C) -> 
+    Handler = couch_util:dict_find(Action, DesignUrlHandlers, fun(_, _, _) ->
             throw({not_found, <<"missing handler: ", Action/binary>>})
         end),
     Handler(Req, Db, DDoc);



Mime
View raw message