mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 14:18:47 +00:00
Replace err != 0 with err != nil where possible
This commit is contained in:
@@ -27,7 +27,7 @@ which :: proc{
|
||||
|
||||
which_file :: proc(path: string) -> Which_File_Type {
|
||||
f, err := os.open(path)
|
||||
if err != 0 {
|
||||
if err != nil {
|
||||
return .Unknown
|
||||
}
|
||||
header: [128]byte
|
||||
|
||||
Reference in New Issue
Block a user