mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-07 13:33:13 +00:00
Fix for dynlib:initialize_symbols not passing -vet-unused
This commit is contained in:
@@ -135,7 +135,7 @@ initialize_symbols :: proc(
|
||||
prefixed_symbol_buf: [2048]u8 = ---
|
||||
|
||||
count = 0
|
||||
for field, i in reflect.struct_fields_zipped(T) {
|
||||
for field in reflect.struct_fields_zipped(T) {
|
||||
// Calculate address of struct member
|
||||
field_ptr := rawptr(uintptr(symbol_table) + field.offset)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user