mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 14:18:47 +00:00
Keep -vet happy
This commit is contained in:
@@ -647,7 +647,7 @@ type_info_base_without_enum :: type_info_core
|
|||||||
__type_info_of :: proc "contextless" (id: typeid) -> ^Type_Info #no_bounds_check {
|
__type_info_of :: proc "contextless" (id: typeid) -> ^Type_Info #no_bounds_check {
|
||||||
n := u64(len(type_table))
|
n := u64(len(type_table))
|
||||||
i := transmute(u64)id % n
|
i := transmute(u64)id % n
|
||||||
for k in 0..<n {
|
for _ in 0..<n {
|
||||||
ptr := type_table[i]
|
ptr := type_table[i]
|
||||||
if ptr != nil && ptr.id == id {
|
if ptr != nil && ptr.id == id {
|
||||||
return ptr
|
return ptr
|
||||||
|
|||||||
Reference in New Issue
Block a user