bind9/lib/isc/unix
Ondřej Surý 6afa99362a Remove duplicate INSIST checks for isc_refcount API
This commits removes superfluous checks when using the isc_refcount API.

Examples of superfluous checks:

1. The isc_refcount_decrement function ensures there was not underflow,
   so this check is superfluous:

    INSIST(isc_refcount_decrement(&r) > 0);

2 .The isc_refcount_destroy() includes check whether the counter
   is zero, therefore this is superfluous:

    INSIST(isc_refcount_decrement(&r) == 1 && isc_refcount_destroy(&r));
2020-01-14 13:12:13 +01:00
..
include hurd: Fix build 2019-11-10 20:14:17 +00:00
dir.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
errno.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
errno2result.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
errno2result.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
file.c hurd: Fix build 2019-11-10 20:14:17 +00:00
fsaccess.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
ifiter_getifaddrs.c Remove blocks checking whether isc_mem_get() failed using the coccinelle 2019-07-23 15:32:35 -04:00
interfaceiter.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
Makefile.in Rename OPENSSL_INCLUDES to OPENSSL_CFLAGS in AX_CHECK_OPENSSL() macro 2019-06-25 12:36:01 +02:00
meminfo.c Do not use <sys/sysctl.h> on Linux 2019-11-06 15:32:04 +01:00
net.c Disable pktinfo for ipv6 on all unices 2020-01-13 22:00:20 +01:00
os.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
pk11_api.c Remove unused RSA Security copyrighted cryptoki.h header 2019-10-04 08:35:45 +02:00
resource.c Remove randomly scattered additional style check suppressions that caused unmatchedSuppression 2019-10-03 09:04:27 +02:00
socket.c Remove duplicate INSIST checks for isc_refcount API 2020-01-14 13:12:13 +01:00
socket_p.h According to POSIX.1-2001, POSIX.1-2008 #include <sys/select.h> is correct way to get fd_set 2018-09-07 12:17:30 +02:00
stdio.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
stdtime.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
syslog.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
time.c Use clock_realtime_fast where available 2019-11-28 12:36:55 +01:00