Remove unused variable and function call Finally get rid of that compiler warning.
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/7fe85091 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/7fe85091 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/7fe85091 Branch: refs/heads/1.6.x Commit: 7fe850914d9230e164209eff7255df4c3bc54983 Parents: 85df088 Author: Klaus Trainer <[email protected]> Authored: Mon May 12 00:41:41 2014 +0200 Committer: Klaus Trainer <[email protected]> Committed: Mon May 12 00:50:31 2014 +0200 ---------------------------------------------------------------------- src/couchdb/couch_httpd.erl | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/7fe85091/src/couchdb/couch_httpd.erl ---------------------------------------------------------------------- diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl index 3eb2e39..cc5c3d3 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 ->
