remove 'do'

This commit is contained in:
PePerRoNii
2025-07-14 20:58:22 +07:00
parent 7265782ddc
commit 8bc1ffd0df

View File

@@ -214,7 +214,9 @@ _set_name :: proc(thread: ^Thread, name:string) {
when ODIN_OS == .Haiku {
unimplemented("core:thread set_name for haiku is not yet supported")
} else when ODIN_OS == .Darwin {
if thread != nil do return
if thread != nil {
return
}
} else {
tid: posix.pthread_t
if thread == nil {