mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-16 22:28:53 -04:00
Gcc 7+ and Clang 10+ have implemented __attribute__((fallthrough)) which
is explicit version of the /* FALLTHROUGH */ comment we are currently
using.
Add and apply FALLTHROUGH macro that uses the attribute if available,
but does nothing on older compilers.
In one case (lib/dns/zone.c), using the macro revealed that we were
using the /* FALLTHROUGH */ comment in wrong place, remove that comment.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| autoconf | ||
| cvs-usage | ||
| DBC | ||
| dev.md | ||
| HOW-ADB-WORKS.txt | ||
| magic_numbers | ||
| rdata.md | ||
| release | ||
| results | ||
| style.md | ||
| tests | ||
| unexpected | ||