This is an automated email from the ASF dual-hosted git repository. garren pushed a commit to branch fdb-mango-indexes in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit a02ae83da9e9cf0305fd167bff074bce45546319 Author: Jay Doane <[email protected]> AuthorDate: Wed Feb 12 00:22:50 2020 -0800 Eliminate compiler warnings --- src/mango/src/mango_idx.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mango/src/mango_idx.erl b/src/mango/src/mango_idx.erl index a1bbe0a..15d19b5 100644 --- a/src/mango/src/mango_idx.erl +++ b/src/mango/src/mango_idx.erl @@ -123,7 +123,7 @@ get_usable_indexes(Db, Selector, Opts) -> end. -mango_sort_error(Db, Opts) -> +mango_sort_error(_Db, _Opts) -> ?MANGO_ERROR({no_usable_index, missing_sort_index}). % TODO: add back in when partitions supported %% case {fabric_util:is_partitioned(Db), is_opts_partitioned(Opts)} of
