ck_rhs: Change a check from == to >=

wanted_probe can't ever be > to map->probe_maximum, but static analyzers can't
know this, so consider it a potential bug.
ck_pring
Olivier Houchard 11 years ago
parent c4e4702cbb
commit 20f082797f

@ -991,7 +991,7 @@ ck_rhs_do_backward_shift_delete(struct ck_rhs *hs, long slot)
break; break;
wanted_probes++; wanted_probes++;
} }
if (wanted_probes == map->probe_maximum) { if (!(wanted_probes < map->probe_maximum)) {
desc->wanted = 0; desc->wanted = 0;
break; break;
} }

Loading…
Cancel
Save