Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B41B11CC1 for ; Wed, 21 May 2014 16:53:18 +0000 (UTC) Received: (qmail 68335 invoked by uid 500); 21 May 2014 16:53:17 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 68295 invoked by uid 500); 21 May 2014 16:53:17 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 68288 invoked by uid 99); 21 May 2014 16:53:17 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2014 16:53:17 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 7F51B9A0274; Wed, 21 May 2014 16:53:17 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: rnewson@apache.org To: commits@couchdb.apache.org Date: Wed, 21 May 2014 16:53:22 -0000 Message-Id: <1a94e16dd12b4cbb8bc3f25004948951@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [07/11] couch commit: updated refs/heads/master to 7ab7995 Remove unused variable and function call Finally get rid of that compiler warning. Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/c625e212 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/c625e212 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/c625e212 Branch: refs/heads/master Commit: c625e21250ca2f8be7bcb9c39b511967e99a8a6c Parents: 1a06391 Author: Klaus Trainer Authored: Mon May 12 00:41:41 2014 +0200 Committer: Robert Newson Committed: Wed May 21 15:17:18 2014 +0100 ---------------------------------------------------------------------- src/couch_httpd.erl | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/c625e212/src/couch_httpd.erl ---------------------------------------------------------------------- diff --git a/src/couch_httpd.erl b/src/couch_httpd.erl index 83fb630..99097d8 100644 --- a/src/couch_httpd.erl +++ b/src/couch_httpd.erl @@ -206,8 +206,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 ->