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

lib/dns/rdata.c: Silence false positive nullPointerRedundantCheck warning from Cppcheck

This commit is contained in:
Ondřej Surý
2019-09-27 10:38:18 +02:00
parent d508ce4036
commit e68333aa67

View File

@@ -1199,7 +1199,7 @@ dns_rdata_tostruct(const dns_rdata_t *rdata, void *target, isc_mem_t *mctx) {
void
dns_rdata_freestruct(void *source) {
dns_rdatacommon_t *common = source;
REQUIRE(source != NULL);
REQUIRE(common != NULL);
FREESTRUCTSWITCH
}