bind9/cocci/unreachable.spatch
Ondřej Surý 4dceab142d Consistenly use UNREACHABLE() instead of ISC_UNREACHABLE()
In couple places, we have missed INSIST(0) or ISC_UNREACHABLE()
replacement on some branches with UNREACHABLE().  Replace all
ISC_UNREACHABLE() or INSIST(0) calls with UNREACHABLE().
2022-03-28 23:26:08 +02:00

19 lines
179 B
Text

@@
@@
- INSIST(0);
+ UNREACHABLE();
... when != UNREACHABLE();
@@
@@
- INSIST(0);
- ISC_UNREACHABLE();
+ UNREACHABLE();
@@
@@
- UNREACHABLE();
UNREACHABLE();