diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2021-02-12 00:58:27 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2021-02-12 00:58:27 +0000 |
commit | b2c4ca8d2872bc4410626f2b1ceafa49de5828ce (patch) | |
tree | 9859236eb057507f3bfb1b91c0d17de075f78a2a /sys | |
parent | 18418e1936b59c34a9c4a02a1ba5fe0d00dde1b3 (diff) | |
download | src-b2c4ca8d2872bc4410626f2b1ceafa49de5828ce.tar.gz src-b2c4ca8d2872bc4410626f2b1ceafa49de5828ce.zip |
pkg(7): address minor nits (mostly clang-analyze complaints)
- One (1) spurious whitespace.
- One (1) occurrence of "random(3) bad, arc4random(3)" good.
- Three (3) writes that will never be seen.
The latter two points are complaints from clang-analyze. Switching to
arc4random(3) is decidedly a good idea because we weren't doing any kind
of PRNG seeding anyways. The discarded assignments are arguably good
for future-proofing, but it's better to improve the S/N ratio from
clang-analyze.
Reviewed by: bapt, manu
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D28525
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions