container/xar: fix undeclared n assignment

This commit is contained in:
Laytan Laats
2025-12-22 16:57:58 +01:00
parent 8ce30dbb72
commit b53ee3dba3

View File

@@ -323,7 +323,6 @@ push_back_elem_and_get_ptr :: proc(x: ^$X/Xar($T, $SHIFT), value: T, loc := #cal
}
x.chunks[chunk_idx][elem_idx] = value
x.len += 1
n = 1
ptr = &x.chunks[chunk_idx][elem_idx]
return
}