diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-08-20 15:25:30 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-08-20 15:25:30 -0400 |
| commit | 9bf283c0851b39d6c54d1f5dfb5c2c55cd0a1ab0 (patch) | |
| tree | 44eeb261c01821f2a6d442ae01db83c7fbca671f /src/link.cpp | |
| parent | 79354243e32b0e64f4dc93bb581ff1b3061e3861 (diff) | |
| download | zig-9bf283c0851b39d6c54d1f5dfb5c2c55cd0a1ab0.tar.gz zig-9bf283c0851b39d6c54d1f5dfb5c2c55cd0a1ab0.zip | |
fixups
* getrandom libc prototypes had the wrong return type
* `total_read` local variable was unnecessary since the sub-slice
buffer has a length
* I was able to get rid of all the integer casts
* the err == 0 check can be a switch case
* add missing `return` statement
Diffstat (limited to 'src/link.cpp')
0 files changed, 0 insertions, 0 deletions
