mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-01 03:38:55 +00:00
remove 'do'
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user