bind9/bin/dig
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/dig Don't print ';;' comments in yaml mode. 2019-09-06 14:14:20 +10:00
win32 Make VS solution upgrading unnecessary 2019-09-26 15:11:15 +02:00
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
dig.1 prep for 9.15.4 2019-09-09 13:13:39 +00:00
dig.c Don't print ';;' comments in yaml mode. 2019-09-06 14:14:20 +10:00
dig.docbook Added documentation for dig's +unexpected command line option. 2019-09-03 10:15:25 -03:00
dig.html prep for 9.15.4 2019-09-09 13:13:39 +00:00
dighost.c Various little fixes found by coccinelle 2019-10-01 16:48:55 +02:00
host.1 prep 9.13.6 2019-02-06 22:13:05 +00:00
host.c Replace RUNTIME_CHECK(dns_name_copy(..., NULL)) with dns_name_copynf() 2019-10-01 10:43:26 +10:00
host.docbook update copyrights 2019-01-02 10:20:43 +11:00
host.html prep 9.13.6 2019-02-06 22:13:05 +00:00
Makefile.in add a search for GeoIP2 libraries in configure 2019-06-27 14:58:13 -07:00
nslookup.1 prep 9.13.6 2019-02-06 22:13:05 +00:00
nslookup.c Replace RUNTIME_CHECK(dns_name_copy(..., NULL)) with dns_name_copynf() 2019-10-01 10:43:26 +10:00
nslookup.docbook update copyrights 2019-01-02 10:20:43 +11:00
nslookup.html prep 9.13.6 2019-02-06 22:13:05 +00:00