This is an automated email from the ASF dual-hosted git repository.

iilyak pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 897e410  Remove compilation warnings
     new 94b9abe  Merge pull request #1933 from 
cloudant/fix-compilation-warnings
897e410 is described below

commit 897e410d34c45b25bb55f6239a6348837b2d223f
Author: ILYA Khlopotov <iil...@apache.org>
AuthorDate: Fri Feb 22 16:16:46 2019 +0000

    Remove compilation warnings
---
 src/couch_mrview/src/couch_mrview_updater.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch_mrview/src/couch_mrview_updater.erl 
b/src/couch_mrview/src/couch_mrview_updater.erl
index 18657b4..09b0d27 100644
--- a/src/couch_mrview/src/couch_mrview_updater.erl
+++ b/src/couch_mrview/src/couch_mrview_updater.erl
@@ -218,7 +218,7 @@ map_docs(Parent, #mrst{db_name = DbName, idx_name = 
IdxName} = State0) ->
     end.
 
 
-write_results(Parent, #mrst{db_name = DbName, idx_name = IdxName} = State) ->
+write_results(Parent, #mrst{} = State) ->
     case accumulate_writes(State, State#mrst.write_queue, nil) of
         stop ->
             Parent ! {new_state, State};

Reply via email to