pool: use elem in else of the when statement (vet issue)

This commit is contained in:
Laytan Laats
2026-01-13 19:47:09 +01:00
parent c637679917
commit 4af4b2f575

View File

@@ -50,6 +50,8 @@ destroy :: proc(p: ^Pool($T)) {
for ; elem != nil; elem = _get_next(p, elem) {
_unpoison_elem(p, elem)
}
} else {
_ = elem
}
_pool_arena_destroy(&p.arena)