mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Clean up error handling
This commit is contained in:
@@ -224,7 +224,7 @@ file_size :: proc(fd: Handle) -> (i64, Errno) {
|
||||
if err != nil {
|
||||
return 0, Platform_Error(err)
|
||||
}
|
||||
return i64(stat.size), 0
|
||||
return i64(stat.size), nil
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user