summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2019-05-20 13:00:21 -0500
committerPaul J. Davis <paul.joseph.davis@gmail.com>2019-05-20 13:00:21 -0500
commit4be7efb08526e1761d9f4227d28a0df8a0718078 (patch)
tree47b3ec6bbc44a364d28d985b5763c2a660729f3d
parent0d258f9fc0a2fcd02b57f0a3f225ebdf8eae2a03 (diff)
downloadcouchdb-4be7efb08526e1761d9f4227d28a0df8a0718078.tar.gz
Silence compiler warning
-rw-r--r--src/chttpd/src/chttpd_db.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chttpd/src/chttpd_db.erl b/src/chttpd/src/chttpd_db.erl
index bb7792af6..68b904a24 100644
--- a/src/chttpd/src/chttpd_db.erl
+++ b/src/chttpd/src/chttpd_db.erl
@@ -368,7 +368,7 @@ do_db_req(#httpd{path_parts=[DbName|_], user_ctx=Ctx}=Req, Fun) ->
{ok, Db} = fabric2_db:open(DbName, [{user_ctx, Ctx}]),
Fun(Req, Db).
-db_req(#httpd{method='GET',path_parts=[DbName]}=Req, Db) ->
+db_req(#httpd{method='GET',path_parts=[_DbName]}=Req, Db) ->
% measure the time required to generate the etag, see if it's worth it
T0 = os:timestamp(),
{ok, DbInfo} = fabric2_db:get_db_info(Db),