mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
oops
This commit is contained in:
@@ -536,7 +536,7 @@ parse_tzif :: proc(_buffer: []u8, region_name: string, allocator := context.allo
|
|||||||
buffer = buffer[(int(real_hdr.leapcnt) * size_of(Leapsecond_Record)):]
|
buffer = buffer[(int(real_hdr.leapcnt) * size_of(Leapsecond_Record)):]
|
||||||
|
|
||||||
standard_wall_tags := buffer[:int(real_hdr.isstdcnt)]
|
standard_wall_tags := buffer[:int(real_hdr.isstdcnt)]
|
||||||
for stdwall_tag, idx in standard_wall_tags {
|
for stdwall_tag, _ in standard_wall_tags {
|
||||||
if (stdwall_tag != 0 && stdwall_tag != 1) {
|
if (stdwall_tag != 0 && stdwall_tag != 1) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -545,7 +545,7 @@ parse_tzif :: proc(_buffer: []u8, region_name: string, allocator := context.allo
|
|||||||
buffer = buffer[int(real_hdr.isstdcnt):]
|
buffer = buffer[int(real_hdr.isstdcnt):]
|
||||||
|
|
||||||
ut_tags := buffer[:int(real_hdr.isutcnt)]
|
ut_tags := buffer[:int(real_hdr.isutcnt)]
|
||||||
for ut_tag, idx in ut_tags {
|
for ut_tag, _ in ut_tags {
|
||||||
if (ut_tag != 0 && ut_tag != 1) {
|
if (ut_tag != 0 && ut_tag != 1) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user