2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Hint the compiler with ISC_UNREACHABLE(); that code after INSIST(0); cannot be reached

This commit is contained in:
Ondřej Surý
2018-11-07 15:00:07 +07:00
parent b992b5b811
commit 23fff6c569
53 changed files with 284 additions and 131 deletions

View File

@@ -378,6 +378,7 @@ diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver,
break;
default:
INSIST(0);
ISC_UNREACHABLE();
}
if (result == ISC_R_SUCCESS) {