From 3f5d52168016020639287457dd2108cad1af594a Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 29 Nov 2024 10:31:31 +0100 Subject: [PATCH] One overlooked /* unused */ case --- pdns/dnsrecords.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pdns/dnsrecords.hh b/pdns/dnsrecords.hh index 0385e1a9a3..8e3c46aacd 100644 --- a/pdns/dnsrecords.hh +++ b/pdns/dnsrecords.hh @@ -1009,9 +1009,8 @@ void RNAME##RecordContent::toPacket(DNSPacketWriter& pw) const this->xfrPacket(pw); \ } \ \ -void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& guard) \ +void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */) \ { \ - (void)guard; \ regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME); \ regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME); \ } \ -- 2.47.2