You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by fd...@apache.org on 2010/07/23 22:44:39 UTC
svn commit: r967255 - /couchdb/branches/1.0.x/src/couchdb/couch_httpd_db.erl
Author: fdmanana
Date: Fri Jul 23 20:44:38 2010
New Revision: 967255
URL: http://svn.apache.org/viewvc?rev=967255&view=rev
Log:
Merged revision 967254 from trunk:
Removed warnings about unused vairables.
Modified:
couchdb/branches/1.0.x/src/couchdb/couch_httpd_db.erl
Modified: couchdb/branches/1.0.x/src/couchdb/couch_httpd_db.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/1.0.x/src/couchdb/couch_httpd_db.erl?rev=967255&r1=967254&r2=967255&view=diff
==============================================================================
--- couchdb/branches/1.0.x/src/couchdb/couch_httpd_db.erl (original)
+++ couchdb/branches/1.0.x/src/couchdb/couch_httpd_db.erl Fri Jul 23 20:44:38 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);