summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_httpd.erl
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2010-02-01 23:03:02 +0000
committerJan Lehnardt <jan@apache.org>2010-02-01 23:03:02 +0000
commit8ef616ca80246e5c104c5212af0c28ab2412b9d4 (patch)
tree99dd3632126420a4d7441230ba4e3d8ef9d67d56 /src/couchdb/couch_httpd.erl
parentee8a76e1cad33831448dbf12a394c51aa65230f4 (diff)
fix unused variable warnings, remove unused code.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@905438 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_httpd.erl')
-rw-r--r--src/couchdb/couch_httpd.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index a36782db..856ab2a4 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -278,7 +278,7 @@ accepted_encodings(#httpd{mochi_req=MochiReq}) ->
EncList
end.
-serve_file(#httpd{mochi_req=MochiReq}=Req, RelativePath, DocumentRoot) ->
+serve_file(Req, RelativePath, DocumentRoot) ->
serve_file(Req, RelativePath, DocumentRoot, []).
serve_file(#httpd{mochi_req=MochiReq}=Req, RelativePath, DocumentRoot, ExtraHeaders) ->