Clean up error handling

This commit is contained in:
gingerBill
2024-08-04 11:21:09 +01:00
parent 7dae38ce89
commit 29b6eebcd5
15 changed files with 118 additions and 135 deletions
+1 -1
View File
@@ -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
}