couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [37/47] couchdb commit: updated refs/heads/Update-Sidebar-Ui to c173e52
Date Mon, 19 May 2014 16:17:55 GMT
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/Update-Sidebar-Ui
Commit: 7fe850914d9230e164209eff7255df4c3bc54983
Parents: 85df088
Author: Klaus Trainer <klaus_trainer@apache.org>
Authored: Mon May 12 00:41:41 2014 +0200
Committer: Klaus Trainer <klaus_trainer@apache.org>
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 ->


Mime
View raw message