couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [22/44] couch-replicator commit: updated refs/heads/63012-defensive to 1afa5ea
Date Tue, 07 Jun 2016 11:05:26 GMT
Remove unused variable `Period`


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

Branch: refs/heads/63012-defensive
Commit: a309e8d13e2c53ae269c407e348d6152b6728bc1
Parents: 24edd80
Author: Nick Vatamaniuc <vatamane@gmail.com>
Authored: Thu Jun 2 11:55:43 2016 -0400
Committer: Nick Vatamaniuc <vatamane@gmail.com>
Committed: Thu Jun 2 11:55:43 2016 -0400

----------------------------------------------------------------------
 src/couch_replicator_clustering.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/a309e8d1/src/couch_replicator_clustering.erl
----------------------------------------------------------------------
diff --git a/src/couch_replicator_clustering.erl b/src/couch_replicator_clustering.erl
index 09212aa..bda6ee4 100644
--- a/src/couch_replicator_clustering.erl
+++ b/src/couch_replicator_clustering.erl
@@ -164,7 +164,7 @@ interval(#state{period = Period, start_period = Period0, start_time =
T0}) ->
 
 
 -spec is_stable(#state{}) -> boolean().
-is_stable(#state{period = Period, last_change = TS} = State) ->
+is_stable(#state{last_change = TS} = State) ->
     now_diff_sec(TS) > interval(State).
 
 


Mime
View raw message