couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [15/30] bear commit: updated refs/heads/import-master to 5f99806
Date Thu, 31 Jul 2014 21:10:06 GMT
Remove non needed clause in ranks_of/5


Project: http://git-wip-us.apache.org/repos/asf/couchdb-bear/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-bear/commit/bd20bd5c
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-bear/tree/bd20bd5c
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-bear/diff/bd20bd5c

Branch: refs/heads/import-master
Commit: bd20bd5cec51cd14c9becb7b3f360c6b09adf549
Parents: c65276d
Author: Rodolphe QuiƩdeville <rodolphe@quiedeville.org>
Authored: Thu Oct 31 21:50:54 2013 +0100
Committer: Rodolphe QuiƩdeville <rodolphe@quiedeville.org>
Committed: Thu Oct 31 21:50:54 2013 +0100

----------------------------------------------------------------------
 src/bear.erl | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-bear/blob/bd20bd5c/src/bear.erl
----------------------------------------------------------------------
diff --git a/src/bear.erl b/src/bear.erl
index ffc9025..04593e7 100644
--- a/src/bear.erl
+++ b/src/bear.erl
@@ -278,8 +278,6 @@ ranks_of(Values) when is_list(Values) ->
                     end, [], Values),
     lists:reverse(L).
 
-ranks_of([E|Es],Acc, N, E, S) ->
-    ranks_of(Es, Acc, N+1, E, S);
 ranks_of([E|Es], Acc, N, P, S) ->
     ranks_of(Es,[{P,(S+N-1)/2}|Acc], N+1, E, N);
 ranks_of([],  Acc, N, P, S) ->


Mime
View raw message