Fix for dynlib:initialize_symbols not passing -vet-unused
This commit is contained in:
1 parent
2207a01494
commit
0729f2b4fb
1 file changed
+1
-1
@@ -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