summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hash.c b/src/hash.c
index ab916d0..f0f2fe9 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -272,6 +272,7 @@ zix_hash_plan_insert_prehashed(const ZixHash* const hash,
if (!found_tombstone && !hash->entries[pos.index].value) {
assert(hash->entries[pos.index].hash == tombstone);
first_tombstone = pos.index; // Remember the first/best free index
+ found_tombstone = true;
}
pos.index = next_index(hash, pos.index);