summaryrefslogtreecommitdiff
path: root/src/couchdb
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@apache.org>2010-08-08 11:10:08 +0000
committerFilipe David Borba Manana <fdmanana@apache.org>2010-08-08 11:10:08 +0000
commit74550455c597a0ef20fc40f04d9dc9ed00e2cf91 (patch)
tree485d522a7432a20aae479d6914f9fbf138088105 /src/couchdb
parent6153cdaacbbd87f521d692ffa7325ceda31934dc (diff)
Removing unnecessary guard in function clause (superceeded by pattern matching).
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983380 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb')
-rw-r--r--src/couchdb/couch_httpd_rewrite.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd_rewrite.erl b/src/couchdb/couch_httpd_rewrite.erl
index 1756b7fb..391fa016 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) ->
{ok, Rest, [{?MATCH_ALL, Match}|Bindings]};
bind_path(_, [], _) ->
fail;