aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-08-20 15:25:30 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-08-20 15:25:30 -0400
commit9bf283c0851b39d6c54d1f5dfb5c2c55cd0a1ab0 (patch)
tree44eeb261c01821f2a6d442ae01db83c7fbca671f /src/analyze.cpp
parent79354243e32b0e64f4dc93bb581ff1b3061e3861 (diff)
downloadzig-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/analyze.cpp')
0 files changed, 0 insertions, 0 deletions