diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2018-06-02 21:40:45 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2018-06-02 21:40:45 +0000 |
commit | 4fedcd4983307c10aad92486f9f0abd7197c4f8f (patch) | |
tree | 0c1bb32846de8b22f2ad01700b783871b6bb775c /usr.sbin/gssd | |
parent | 5167f178ab866f4ccba4edac61260df4150f7560 (diff) | |
download | src-4fedcd4983307c10aad92486f9f0abd7197c4f8f.tar.gz src-4fedcd4983307c10aad92486f9f0abd7197c4f8f.zip |
top(1): cleanup memory allocation and warnings
- Prefer calloc over malloc. This is more predicable and we're not in a
performance sensitive context. [1]
- Remove bogus comment (obsolete from prior commit). [2]
- Remove void casts and type casts of NULL
- Remove redundant declaration of 'quit'
- Add additional const
Reported by: kib [1], vangyzen [2]
Notes
Notes:
svn path=/head/; revision=334540
Diffstat (limited to 'usr.sbin/gssd')
0 files changed, 0 insertions, 0 deletions