You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2016/09/29 22:10:07 UTC
fabric commit: updated refs/heads/master to 833281d
Repository: couchdb-fabric
Updated Branches:
refs/heads/master ecdcc3dc9 -> 833281da2
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/master
Commit: 833281da260ee7cc24030f35b3780ccc3f9cccca
Parents: ecdcc3d
Author: Jay Doane <ja...@gmail.com>
Authored: Thu Sep 29 14:36:43 2016 -0700
Committer: Jay Doane <ja...@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}};