diff options
author | iilyak <iilyak@users.noreply.github.com> | 2019-10-24 10:29:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-24 10:29:41 -0700 |
commit | ed1c3d7ff6f3420766adce84e68fa3643af80d0f (patch) | |
tree | 0192dda3130112ae55b84704ff0608573bbde22a | |
parent | f3d572caf112598d12d705f98dffb8cdbb2bec97 (diff) | |
parent | 3f322a554cd0a29b8d4d0976a0dd4c8701ef355a (diff) | |
download | couchdb-ed1c3d7ff6f3420766adce84e68fa3643af80d0f.tar.gz |
Merge pull request #2274 from cloudant/fix-warning
Remove compiler warning
-rw-r--r-- | src/chttpd/src/chttpd_db.erl | 2 |
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), |