You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2020/02/17 14:32:58 UTC
[couchdb] 18/22: Eliminate compiler warnings
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 31c17397c42d40a03080f8bcf14d2a14a8259ebc
Author: Jay Doane <ja...@apache.org>
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