From ccaa1037c27c39f50c5666f530a4c5e1067a867c Mon Sep 17 00:00:00 2001 From: Robert Newson Date: Sat, 7 Aug 2010 15:29:19 +0000 Subject: fix warning about unused RestMatch variable. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983245 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_httpd_rewrite.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/couchdb/couch_httpd_rewrite.erl') diff --git a/src/couchdb/couch_httpd_rewrite.erl b/src/couchdb/couch_httpd_rewrite.erl index 8bf5b70c..1756b7fb 100644 --- a/src/couchdb/couch_httpd_rewrite.erl +++ b/src/couchdb/couch_httpd_rewrite.erl @@ -318,7 +318,7 @@ bind_method(_, _) -> %% to the current url by pattern matching bind_path([], [], Bindings) -> {ok, [], Bindings}; -bind_path([?MATCH_ALL], [Match|RestMatch]=Rest, Bindings) when is_list(Rest) -> +bind_path([?MATCH_ALL], [Match|_RestMatch]=Rest, Bindings) when is_list(Rest) -> {ok, Rest, [{?MATCH_ALL, Match}|Bindings]}; bind_path(_, [], _) -> fail; -- cgit v1.2.3