summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/fabric/src/fabric_doc_open_revs.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/fabric/src/fabric_doc_open_revs.erl b/apps/fabric/src/fabric_doc_open_revs.erl
index 722d23a5..03a9778d 100644
--- a/apps/fabric/src/fabric_doc_open_revs.erl
+++ b/apps/fabric/src/fabric_doc_open_revs.erl
@@ -143,7 +143,7 @@ is_repair_needed([], []) ->
false;
is_repair_needed([{_Rev, [Reply]} | Tail1], [Reply | Tail2]) ->
is_repair_needed(Tail1, Tail2);
-is_repair_needed([H1|_], [H2|_]) ->
+is_repair_needed(_, _) ->
true.
% this presumes the incoming list is sorted, i.e. shorter revlists come first