More minor stylization changes (remove unneeded parentheses)

This commit is contained in:
gingerBill
2021-06-14 11:34:31 +01:00
parent 6f745677b4
commit 9f8a63cb43
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -337,7 +337,7 @@ write :: proc(fd: Handle, data: []u8) -> (int, Errno) {
return 0, 0;
}
bytes_written := _unix_write(fd, raw_data(data), len(data));
if(bytes_written == -1) {
if bytes_written == -1 {
return 0, 1;
}
return bytes_written, 0;