couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject [19/50] fabric commit: updated refs/heads/2971-count-distinct to 5d18415
Date Wed, 01 Mar 2017 16:38:17 GMT
Fix compiler warning


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

Branch: refs/heads/2971-count-distinct
Commit: 833281da260ee7cc24030f35b3780ccc3f9cccca
Parents: ecdcc3d
Author: Jay Doane <jay.s.doane@gmail.com>
Authored: Thu Sep 29 14:36:43 2016 -0700
Committer: Jay Doane <jay.s.doane@gmail.com>
Committed: Thu Sep 29 14:36:43 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/833281da/src/fabric_db_update_listener.erl
----------------------------------------------------------------------
diff --git a/src/fabric_db_update_listener.erl b/src/fabric_db_update_listener.erl
index 1fd9254..13d8b9e 100644
--- a/src/fabric_db_update_listener.erl
+++ b/src/fabric_db_update_listener.erl
@@ -156,7 +156,7 @@ handle_message(db_updated, _Worker, #acc{state=waiting}=Acc) ->
     {ok, Acc#acc{state=unset}};
 handle_message(db_updated, _Worker, Acc) ->
     {ok, Acc#acc{state=updated}};
-handle_message(db_deleted, _Worker, Acc) ->
+handle_message(db_deleted, _Worker, _Acc) ->
     {stop, ok};
 handle_message(get_state, _Worker, #acc{state=unset}=Acc) ->
     {ok, Acc#acc{state=waiting}};


Mime
View raw message