summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_btree.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/couchdb/couch_btree.erl')
-rw-r--r--src/couchdb/couch_btree.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/couchdb/couch_btree.erl b/src/couchdb/couch_btree.erl
index 0231d83c..c9079781 100644
--- a/src/couchdb/couch_btree.erl
+++ b/src/couchdb/couch_btree.erl
@@ -243,8 +243,9 @@ complete_root(Bt, KPs) ->
% written. Plus with the "case size(term_to_binary(InList)) of" code it's
% probably really inefficient.
-chunkify(_Bt, []) ->
- [];
+% dialyzer says this pattern is never matched
+% chunkify(_Bt, []) ->
+% [];
chunkify(Bt, InList) ->
case size(term_to_binary(InList)) of
Size when Size > ?CHUNK_THRESHOLD ->