mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 23:25:38 +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
|
void
|
||||||
dns_rdata_freestruct(void *source) {
|
dns_rdata_freestruct(void *source) {
|
||||||
dns_rdatacommon_t *common = source;
|
dns_rdatacommon_t *common = source;
|
||||||
REQUIRE(source != NULL);
|
REQUIRE(common != NULL);
|
||||||
|
|
||||||
FREESTRUCTSWITCH
|
FREESTRUCTSWITCH
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user