diff options
author | Robert Newson <rnewson@apache.org> | 2010-08-07 15:29:19 +0000 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2010-08-07 15:29:19 +0000 |
commit | ccaa1037c27c39f50c5666f530a4c5e1067a867c (patch) | |
tree | d73e80e02454bf875e8adb96a5a431070059eb75 /src | |
parent | 5b620c64c426256d78fe956aeda9132de96f8e53 (diff) |
fix warning about unused RestMatch variable.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983245 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/couchdb/couch_httpd_rewrite.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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; |