eiri commented on a change in pull request #560: Fix broken eunit test in
changes_since_test_ test suite
URL: https://github.com/apache/couchdb/pull/560#discussion_r120651163
##########
File path: src/couch_mrview/src/couch_mrview_util.erl
##########
@@ -344,6 +344,9 @@ get_view_changes_count(View) ->
{#btree{}, nil} ->
couch_btree:fold_reduce(SBtree, CountFun, 0, []);
{nil, #btree{}} ->
+ couch_btree:fold_reduce(KSBtree, CountFun, 0, []);
Review comment:
Remove all this lines and change the line above to `{_, #btree{}}`. We don't
need separate clause for the same return.
As a general rule please don't submit commented code in none WIP work.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services