summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriilyak <iilyak@users.noreply.github.com>2019-10-24 10:29:41 -0700
committerGitHub <noreply@github.com>2019-10-24 10:29:41 -0700
commited1c3d7ff6f3420766adce84e68fa3643af80d0f (patch)
tree0192dda3130112ae55b84704ff0608573bbde22a
parentf3d572caf112598d12d705f98dffb8cdbb2bec97 (diff)
parent3f322a554cd0a29b8d4d0976a0dd4c8701ef355a (diff)
downloadcouchdb-ed1c3d7ff6f3420766adce84e68fa3643af80d0f.tar.gz
Merge pull request #2274 from cloudant/fix-warning
Remove compiler warning
-rw-r--r--src/chttpd/src/chttpd_db.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/chttpd/src/chttpd_db.erl b/src/chttpd/src/chttpd_db.erl
index 5a7f06047..8cfa1f48c 100644
--- a/src/chttpd/src/chttpd_db.erl
+++ b/src/chttpd/src/chttpd_db.erl
@@ -333,8 +333,6 @@ update_partition_stats(PathParts) ->
handle_design_req(#httpd{
path_parts=[_DbName, _Design, Name, <<"_",_/binary>> = Action | _Rest]
}=Req, Db) ->
- DbName = fabric2_db:name(Db),
-%% case ddoc_cache:open(DbName, <<"_design/", Name/binary>>) of
case fabric2_db:open_doc(Db, <<"_design/", Name/binary>>) of
{ok, DDoc} ->
Handler = chttpd_handlers:design_handler(Action, fun bad_action_req/3),