couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1142410 - /couchdb/branches/1.1.x/src/couchdb/couch_replication_manager.erl
Date Sun, 03 Jul 2011 09:58:55 GMT
Author: fdmanana
Date: Sun Jul  3 09:58:54 2011
New Revision: 1142410

URL: http://svn.apache.org/viewvc?rev=1142410&view=rev
Log:
Remove warning about unused variable

Modified:
    couchdb/branches/1.1.x/src/couchdb/couch_replication_manager.erl

Modified: couchdb/branches/1.1.x/src/couchdb/couch_replication_manager.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/1.1.x/src/couchdb/couch_replication_manager.erl?rev=1142410&r1=1142409&r2=1142410&view=diff
==============================================================================
--- couchdb/branches/1.1.x/src/couchdb/couch_replication_manager.erl (original)
+++ couchdb/branches/1.1.x/src/couchdb/couch_replication_manager.erl Sun Jul  3 09:58:54 2011
@@ -75,7 +75,7 @@ replication_completed(RepId) ->
     case rep_state(RepId) of
     nil ->
         ok;
-    #rep_state{doc_id = DocId} = St ->
+    #rep_state{doc_id = DocId} ->
         update_rep_doc(DocId, [{<<"_replication_state">>, <<"completed">>}]),
         ok = gen_server:call(?MODULE, {rep_complete, RepId}, infinity),
         ?LOG_INFO("Replication `~s` finished (triggered by document `~s`)",



Mime
View raw message