summaryrefslogtreecommitdiff
path: root/apps/fabric
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-10-19 11:54:52 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-10-19 11:54:52 -0400
commita40afb39dda1e9f603162c228d8f3c3c12f828e0 (patch)
treee21cfb59453d88a3b8e7ed572cd8cc80bf947738 /apps/fabric
parent4074a1f187193df9d13c5b9f35545833ae245a63 (diff)
suppress unused variable warning
Diffstat (limited to 'apps/fabric')
-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