mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
Keep -vet happy
This commit is contained in:
@@ -41,8 +41,8 @@ get_build_os_from_string :: proc(str: string) -> (found_os: runtime.Odin_OS_Type
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if str_subtarget != "" {
|
if str_subtarget != "" {
|
||||||
fields := reflect.enum_fields_zipped(runtime.Odin_Platform_Subtarget_Type)
|
st_fields := reflect.enum_fields_zipped(runtime.Odin_Platform_Subtarget_Type)
|
||||||
for subtarget in fields {
|
for subtarget in st_fields {
|
||||||
if strings.equal_fold(subtarget.name, str_subtarget) {
|
if strings.equal_fold(subtarget.name, str_subtarget) {
|
||||||
found_subtarget = runtime.Odin_Platform_Subtarget_Type(subtarget.value)
|
found_subtarget = runtime.Odin_Platform_Subtarget_Type(subtarget.value)
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user