mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Silence vet some more.
This commit is contained in:
@@ -17,10 +17,10 @@ _cpu_name_buf: [72]u8
|
|||||||
@(init, private)
|
@(init, private)
|
||||||
init_cpu_name :: proc "c" () {
|
init_cpu_name :: proc "c" () {
|
||||||
when ODIN_ARCH == .arm32 {
|
when ODIN_ARCH == .arm32 {
|
||||||
copy(_cpu_name_buf, "ARM")
|
copy(_cpu_name_buf[:], "ARM")
|
||||||
cpu_name = string(_cpu_name_buf[:3])
|
cpu_name = string(_cpu_name_buf[:3])
|
||||||
} else {
|
} else {
|
||||||
copy(_cpu_name_buf, "ARM64")
|
copy(_cpu_name_buf[:], "ARM64")
|
||||||
cpu_name = string(_cpu_name_buf[:5])
|
cpu_name = string(_cpu_name_buf[:5])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user