mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
[os2/process]: Fix vet errors
This commit is contained in:
@@ -375,7 +375,7 @@ _current_process_info :: proc(selection: Process_Info_Fields, allocator: runtime
|
|||||||
read_username: if .Username in selection {
|
read_username: if .Username in selection {
|
||||||
process_handle := win32.GetCurrentProcess()
|
process_handle := win32.GetCurrentProcess()
|
||||||
username: string
|
username: string
|
||||||
username, err := _get_process_user(process_handle, allocator)
|
username, err = _get_process_user(process_handle, allocator)
|
||||||
if _, ok := err.(runtime.Allocator_Error); ok {
|
if _, ok := err.(runtime.Allocator_Error); ok {
|
||||||
return
|
return
|
||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user