bind9/lib/ns
Ondřej Surý 288f5a4b52 Various little fixes found by coccinelle
The coccinellery repository provides many little semantic patches to fix common
problems in the code.  The number of semantic patches in the coccinellery
repository is high and most of the semantic patches apply only for Linux, so it
doesn't make sense to run them on regular basis as the processing takes a lot of
time.

The list of issue found in BIND 9, by no means complete, includes:

- double assignment to a variable
- `continue` at the end of the loop
- double checks for `NULL`
- useless checks for `NULL` (cannot be `NULL`, because of earlier return)
- using `0` instead of `NULL`
- useless extra condition (`if (foo) return; if (!foo) { ...; }`)
- removing & in front of static functions passed as arguments
2019-10-01 16:48:55 +02:00
..
include Add new default siphash24 cookie algorithm, but keep AES as legacy 2019-07-21 15:16:28 -04:00
tests Use the semantic patch to change the usage isc_mem_create() to new API 2019-09-12 09:26:09 +02:00
win32 Make VS solution upgrading unnecessary 2019-09-26 15:11:15 +02:00
api prep 9.15.3 2019-08-12 13:59:41 +00:00
client.c address or suppress cppcheck warnings 2019-09-12 17:59:28 +10:00
hooks.c Various little fixes found by coccinelle 2019-10-01 16:48:55 +02:00
interfacemgr.c Remove blocks checking whether isc_mem_get() failed using the coccinelle 2019-07-23 15:32:35 -04:00
Kyuafile regen master 2017-12-29 01:44:18 +00:00
lib.c Use the semantic patch to change the usage isc_mem_create() to new API 2019-09-12 09:26:09 +02:00
listenlist.c Remove blocks checking whether isc_mem_get() failed using the coccinelle 2019-07-23 15:32:35 -04:00
log.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
Makefile.in Add rules to make sure subdirs are always built before testdirs 2019-07-02 12:32:22 +02:00
notify.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
query.c Replace RUNTIME_CHECK(dns_name_copy(..., NULL)) with dns_name_copynf() 2019-10-01 10:43:26 +10:00
server.c Use coccinelle to cleanup the failure handling blocks from isc_mem_strdup 2019-07-23 15:32:36 -04:00
sortlist.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
stats.c lib/ns/stats.c: use isc_refcount_t 2019-07-09 16:11:14 +02:00
update.c Replace RUNTIME_CHECK(dns_name_copy(..., NULL)) with dns_name_copynf() 2019-10-01 10:43:26 +10:00
version.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
xfrout.c Various little fixes found by coccinelle 2019-10-01 16:48:55 +02:00