freebsd-skq/lib/libc/tests/nss
brooks 8c3dda89d6 Fix various -Wpointer-compare warnings
This warning (comparing a pointer against a zero character literal
rather than NULL) has existed since GCC 7.1.0, and was recently added to
Clang trunk.

Almost all of these are harmless, except for fwcontrol's str2node, which
needs to both guard against dereferencing a NULL pointer (though in
practice it appears none of the callers will ever pass one in), as well
as ensure it doesn't parse the empty string as node 0 due to strtol's
awkward interface.

Submitted by:	James Clarke <jtrc27@jrtc27.com>
Obtained from:	CheriBSD
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D21914
2019-10-08 21:14:09 +00:00
..
getaddrinfo_test.c Push snapshot_file copying down into run_tests function, and mark snapshot_file 2017-05-28 06:26:43 +00:00
getgr_test.c Fix various -Wpointer-compare warnings 2019-10-08 21:14:09 +00:00
gethostby_test.c hostent_test_getaddrinfo_eq(..): call freeaddrinfo on ai when done 2017-05-28 07:40:42 +00:00
getproto_test.c Fix various -Wpointer-compare warnings 2019-10-08 21:14:09 +00:00
getpw_test.c getpw_test: fix -Wunused warnings 2017-05-28 04:41:06 +00:00
getrpc_test.c Fix various -Wpointer-compare warnings 2019-10-08 21:14:09 +00:00
getserv_test.c Fix various -Wpointer-compare warnings 2019-10-08 21:14:09 +00:00
getusershell_test.c getusershell_test: mark mdata parameter in compare_usershell __unused 2017-05-28 04:12:02 +00:00
Makefile Bump WARNS from 1 to 3 after recent commits to fix warnings in the 2017-05-28 06:29:01 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
testutil.h