{
versionSetProduct(ProductAuthoritative);
reportAllTypes(); // init MOADNSParser
- DNSRecordContent::lock();
g_programname = "pdns";
g_starttime = time(nullptr);
conv.xfrName(d_fqdn, false);)
/* EUI48 start */
-void EUI48RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& guard)
+void EUI48RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)
{
- (void)guard;
regist(1, QType::EUI48, &make, &make, "EUI48");
}
std::shared_ptr<DNSRecordContent> EUI48RecordContent::make(const DNSRecord &dr, PacketReader& pr)
/* EUI64 start */
-void EUI64RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& guard)
+void EUI64RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)
{
- (void)guard;
regist(1, QType::EUI64, &make, &make, "EUI64");
}
std::shared_ptr<DNSRecordContent> EUI64RecordContent::make(const DNSRecord &dr, PacketReader& pr)
/* APL start */
/* https://tools.ietf.org/html/rfc3123 */
-void APLRecordContent::report(const ReportIsOnlyCallableByReportAllTypes& guard)
+void APLRecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)
{
- (void)guard;
regist(1, QType::APL, &make, &make, "APL");
}
return ret;
}
-void NSECRecordContent::report(const ReportIsOnlyCallableByReportAllTypes& guard)
+void NSECRecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)
{
- (void)guard;
regist(1, 47, &make, &make, "NSEC");
}
////// begin of NSEC3
-void NSEC3RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& guard)
+void NSEC3RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)
{
- (void)guard;
regist(1, 50, &make, &make, "NSEC3");
}
}
-void NSEC3PARAMRecordContent::report(const ReportIsOnlyCallableByReportAllTypes& guard)
+void NSEC3PARAMRecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)
{
- (void)guard;
regist(1, 51, &make, &make, "NSEC3PARAM");
regist(254, 51, &make, &make, "NSEC3PARAM");
}
////// begin of CSYNC
-void CSYNCRecordContent::report(const ReportIsOnlyCallableByReportAllTypes& guard)
+void CSYNCRecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)
{
- (void)guard;
regist(1, 62, &make, &make, "CSYNC");
}
g_argv = argv;
versionSetProduct(ProductRecursor);
reportAllTypes();
- DNSRecordContent::lock();
int ret = EXIT_SUCCESS;
return (retval);
}
-void LOCRecordContent::report(const ReportIsOnlyCallableByReportAllTypes& guard)
+void LOCRecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)
{
- (void)guard;
regist(1, QType::LOC, &make, &make, "LOC");
regist(254, QType::LOC, &make, &make, "LOC");
}