mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +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 = ---
|
prefixed_symbol_buf: [2048]u8 = ---
|
||||||
|
|
||||||
count = 0
|
count = 0
|
||||||
for field, i in reflect.struct_fields_zipped(T) {
|
for field in reflect.struct_fields_zipped(T) {
|
||||||
// Calculate address of struct member
|
// Calculate address of struct member
|
||||||
field_ptr := rawptr(uintptr(symbol_table) + field.offset)
|
field_ptr := rawptr(uintptr(symbol_table) + field.offset)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user