mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-21 13:55:19 +00:00
pool: use elem in else of the when statement (vet issue)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user