From: Otto Moerbeek Date: Fri, 29 Nov 2024 09:31:31 +0000 (+0100) Subject: One overlooked /* unused */ case X-Git-Tag: rec-5.2.0-rc1~25^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F14897%2Fhead;p=thirdparty%2Fpdns.git One overlooked /* unused */ case --- 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); \ } \