You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2020/11/17 22:00:19 UTC

[couchdb] 04/04: Remove unnecessary line wraps

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

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

commit 3168a4dbcef7181b67a989e1d723dc6a93e76280
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Tue Nov 17 11:23:36 2020 -0600

    Remove unnecessary line wraps
---
 src/couch_views/src/couch_views_indexer.erl | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/couch_views/src/couch_views_indexer.erl b/src/couch_views/src/couch_views_indexer.erl
index 83ccb2c..e3b2ad5 100644
--- a/src/couch_views/src/couch_views_indexer.erl
+++ b/src/couch_views/src/couch_views_indexer.erl
@@ -235,10 +235,8 @@ do_update(Db, Mrst0, State0) ->
 
         case is_update_finished(State2) of
             true ->
-                maybe_set_build_status(TxDb, Mrst2, ViewVS,
-                    ?INDEX_READY),
-                report_progress(State2#{changes_done := ChangesDone},
-                    finished),
+                maybe_set_build_status(TxDb, Mrst2, ViewVS, ?INDEX_READY),
+                report_progress(State2#{changes_done := ChangesDone}, finished),
                 {Mrst2, finished};
             false ->
                 State3 = report_progress(State2, update),