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

davisp pushed a commit to branch fix-empty-reduce-output
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 9e918919a40265f2790946f37df453df4ba01d32
Author: Paul J. Davis <paul.joseph.da...@gmail.com>
AuthorDate: Wed Oct 21 14:44:47 2020 -0500

    Remove debug logging
---
 src/couch_views/src/couch_views_trees.erl | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/couch_views/src/couch_views_trees.erl 
b/src/couch_views/src/couch_views_trees.erl
index 6c32f97..ad3660e 100644
--- a/src/couch_views/src/couch_views_trees.erl
+++ b/src/couch_views/src/couch_views_trees.erl
@@ -279,9 +279,6 @@ min_order(V) ->
 
 make_read_only_reduce_fun(Lang, View, NthRed) ->
     RedFuns = [Src || {_, Src} <- View#mrview.reduce_funs],
-    if RedFuns /= [] -> ok; true ->
-        io:format(standard_error, "~p~n", [process_info(self(), 
current_stacktrace)])
-    end,
     LPad = lists:duplicate(NthRed - 1, []),
     RPad = lists:duplicate(length(RedFuns) - NthRed, []),
     FunSrc = lists:nth(NthRed, RedFuns),

Reply via email to