diff options
| author | Guillaume Melquiond | 2016-01-02 16:52:33 +0100 |
|---|---|---|
| committer | Guillaume Melquiond | 2016-01-02 16:52:33 +0100 |
| commit | 82ac0604888679bc2fbdeda9ac264d7cd10f7928 (patch) | |
| tree | 49d0a387c5345f17f3b18e82e5a2704e3487b5c7 /lib/hashset.ml | |
| parent | 2c8275ee3e0e5cd4eb8afd24047fda7f864e0e4e (diff) | |
Avoid warnings about loop indices.
Diffstat (limited to 'lib/hashset.ml')
| -rw-r--r-- | lib/hashset.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hashset.ml b/lib/hashset.ml index 1ca6cc6418..0009ac6506 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 |
