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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user