bind9/bin/dig
Ondřej Surý fbd2e47f51 Add small tweaks to the code to fix compilation when ISC assertions are disabled
While implementing the new unit testing framework cmocka, it was found that the
BIND 9 code doesn't compile when assertions are disabled or replaced with any
function (such as mock_assert() from cmocka unit testing framework) that's not
directly recognized as assertion by the compiler.

This made the compiler to complain about blocks of code that was recognized as
unreachable before, but now it isn't.

The changes in this commit include:

* assigns default values to couple of local variables,
* moves some return statements around INSIST assertions,
* adds __builtin_unreachable(); annotations after some INSIST assertions,
* fixes one broken assertion (= instead of ==)
2018-11-08 12:21:53 +07:00
..
include/dig Add some DBC checks in dighost; fix race between clear_query and send_done in dighost 2018-11-07 13:04:13 -05:00
win32 Add @OPENSSL_LIB@ to Windows project files as needed 2018-08-10 16:45:00 +02:00
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
dig.1 regenerate doc 2018-05-21 19:59:45 +00:00
dig.c Change the dig documentation 2018-11-06 12:48:08 +07:00
dig.docbook Change the dig documentation 2018-11-06 12:48:08 +07:00
dig.html regenerate doc 2018-05-21 19:59:45 +00:00
dighost.c Add small tweaks to the code to fix compilation when ISC assertions are disabled 2018-11-08 12:21:53 +07:00
host.1 prep 9.13.3 2018-09-04 06:11:38 +00:00
host.c Abolish ip6.int support in dig and mdig 2018-11-05 19:07:31 -05:00
host.docbook Abolish ip6.int support in dig and mdig 2018-11-05 19:07:31 -05:00
host.html regenerate doc 2018-05-21 19:59:45 +00:00
Makefile.in Bail-out early in the for install loops instead of continuing because for masks the error in the middle 2018-09-03 12:05:45 +02:00
nslookup.1 prep 9.13.3 2018-09-04 06:11:38 +00:00
nslookup.c Abolish ip6.int support in dig and mdig 2018-11-05 19:07:31 -05:00
nslookup.docbook Update the IDN documentation for nslookup 2018-11-06 12:48:08 +07:00
nslookup.html regenerate doc 2018-05-21 19:59:45 +00:00