summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchd/proc.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2018-08-04 16:47:05 +0000
committerschwarze <schwarze@openbsd.org>2018-08-04 16:47:05 +0000
commit194d0062059fd2941d70a02ad41cfc2e31a680a7 (patch)
treee8b9167b8620258adb524d23f2d2c172556544b1 /usr.sbin/switchd/proc.c
parentavoid using a value uninitialised (diff)
downloadwireguard-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