diff options
author | 2018-08-04 16:47:05 +0000 | |
---|---|---|
committer | 2018-08-04 16:47:05 +0000 | |
commit | 194d0062059fd2941d70a02ad41cfc2e31a680a7 (patch) | |
tree | e8b9167b8620258adb524d23f2d2c172556544b1 /usr.sbin/switchd/proc.c | |
parent | avoid using a value uninitialised (diff) | |
download | wireguard-openbsd-194d0062059fd2941d70a02ad41cfc2e31a680a7.tar.xz wireguard-openbsd-194d0062059fd2941d70a02ad41cfc2e31a680a7.zip |
obvious KNF: avoid '!' for tests of non-boolean variables,
__dead void usage, return from main and return is not a function,
err(1, NULL) after malloc failure, and garbage collect (void) casts
on functions that usually do not need return value checks
Diffstat (limited to 'usr.sbin/switchd/proc.c')
0 files changed, 0 insertions, 0 deletions