]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
One overlooked /* unused */ case 14897/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 29 Nov 2024 09:31:31 +0000 (10:31 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 29 Nov 2024 09:31:31 +0000 (10:31 +0100)
pdns/dnsrecords.hh

index 0385e1a9a3af3e43753caa99363ec871c300d0ab..8e3c46aacd07674f53af9c5940f92087268ebb63 100644 (file)
@@ -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);     \
 }                                                                                                  \