Remove unnecessary INSIST() in code
diff --git a/lib/ns/query.c b/lib/ns/query.c
index 6f8df29dce..e9f0590f07 100644
--- a/lib/ns/query.c
+++ b/lib/ns/query.c
@@ -3882,8 +3882,8 @@ rpz_rewrite(ns_client_t *client, dns_rdatatype_t qtype,
st->popt = popt;
st->rpz_ver = rpz_ver;
client->query.rpz_st = st;
- if (popt.dnsrps_enabled) {
#ifdef USE_DNSRPS
+ if (popt.dnsrps_enabled) {
if (st->rpsdb != NULL) {
dns_db_detach(&st->rpsdb);
}
@@ -3898,10 +3898,8 @@ rpz_rewrite(ns_client_t *client, dns_rdatatype_t qtype,
st->m.policy = DNS_RPZ_POLICY_ERROR;
return (ISC_R_SUCCESS);
}
-#else
- INSIST(0);
-#endif
}
+#endif
}
/*