diff options
| author | gingerBill <bill@gingerbill.org> | 2025-02-20 14:18:19 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2025-02-20 14:18:19 +0000 |
| commit | 4ece0617bcd13d50cc8826bd144d9bcadd14a791 (patch) | |
| tree | 1bfedad11c88ae926dcb7786e9c6503131e516d3 /base/runtime | |
| parent | 5489a889832ac05e5edca7355b4601c1a82c2d27 (diff) | |
Keep -vet happy
Diffstat (limited to 'base/runtime')
| -rw-r--r-- | base/runtime/core.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/runtime/core.odin b/base/runtime/core.odin index 94a126082..285883c2b 100644 --- a/base/runtime/core.odin +++ b/base/runtime/core.odin @@ -647,7 +647,7 @@ type_info_base_without_enum :: type_info_core __type_info_of :: proc "contextless" (id: typeid) -> ^Type_Info #no_bounds_check { n := u64(len(type_table)) i := transmute(u64)id % n - for k in 0..<n { + for _ in 0..<n { ptr := type_table[i] if ptr != nil && ptr.id == id { return ptr |