summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Trainer <klaus_trainer@apache.org>2014-05-12 00:41:41 +0200
committerKlaus Trainer <klaus_trainer@apache.org>2014-05-12 00:50:31 +0200
commit7fe850914d9230e164209eff7255df4c3bc54983 (patch)
tree5df821400e31d91dfe2cf00b1798fdcee0c5a300
parent85df08859e731797df1f60d41ea3a322b735926e (diff)
downloadcouchdb-7fe850914d9230e164209eff7255df4c3bc54983.tar.gz
Remove unused variable and function call
Finally get rid of that compiler warning.
-rw-r--r--src/couchdb/couch_httpd.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index 3eb2e3990..cc5c3d385 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -233,8 +233,6 @@ handle_request_int(MochiReq, DefaultFun,
RawUri = MochiReq:get(raw_path),
{"/" ++ Path, _, _} = mochiweb_util:urlsplit_path(RawUri),
- Headers = MochiReq:get(headers),
-
% get requested path
RequestedPath = case MochiReq:get_header_value("x-couchdb-vhost-path") of
undefined ->