aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorGravatar Guillaume Melquiond <guillaume.melquiond@inria.fr>2016-01-02 16:52:33 +0100
committerGravatar Guillaume Melquiond <guillaume.melquiond@inria.fr>2016-01-02 16:52:33 +0100
commit82ac0604888679bc2fbdeda9ac264d7cd10f7928 (patch)
tree49d0a387c5345f17f3b18e82e5a2704e3487b5c7 /lib
parent2c8275ee3e0e5cd4eb8afd24047fda7f864e0e4e (diff)
Avoid warnings about loop indices.
Diffstat (limited to 'lib')
-rw-r--r--lib/hashset.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hashset.ml b/lib/hashset.ml
index 1ca6cc641..0009ac650 100644
--- a/lib/hashset.ml
+++ b/lib/hashset.ml
@@ -162,7 +162,7 @@ module Make (E : EqType) =
t.hashes.(index) <- newhashes;
if sz <= t.limit && newsz > t.limit then begin
t.oversize <- t.oversize + 1;
- for i = 0 to over_limit do test_shrink_bucket t done;
+ for _i = 0 to over_limit do test_shrink_bucket t done;
end;
if t.oversize > Array.length t.table / over_limit then resize t
end else if Weak.check bucket i then begin