diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2010-07-23 20:43:30 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2010-07-23 20:43:30 +0000 |
commit | f9f79c82c8c08bc219adcdbb9b624a61b7ceb2e8 (patch) | |
tree | ff9f010c07d2372e598abb2e15a8826e655d7c58 /src/couchdb | |
parent | 4dc9b548e11e94a003e2324e82c9268b46e5376d (diff) |
Removed warnings about unused vairables.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@967254 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb')
-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 9b2014f3..c11f54f3 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); |