diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2010-07-23 20:44:38 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2010-07-23 20:44:38 +0000 |
commit | 5d522d879bd5fdfa892ca63166029576d5272c9f (patch) | |
tree | 68a6a04c2c715a6ea0e25df3a7364c4703223a34 | |
parent | ac5783a3e8924d280a989ba025d4a89c156183cb (diff) |
Merged revision 967254 from trunk:
Removed warnings about unused vairables.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@967255 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/couchdb/couch_httpd_db.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd_db.erl b/src/couchdb/couch_httpd_db.erl index 789db5d0..f7682422 100644 --- a/src/couchdb/couch_httpd_db.erl +++ b/src/couchdb/couch_httpd_db.erl @@ -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); |