]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
chore(res): appease clang-tidy
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 14 Nov 2025 14:27:38 +0000 (15:27 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 28 Nov 2025 12:39:35 +0000 (13:39 +0100)
pdns/recursordist/test-aggressive_nsec_cc.cc

index f9d98c88e72002d5e134457a8cd32edfac4d39e5..e4b5a3bebcb49f82a01d9bc6fd27d4241254deb4 100644 (file)
@@ -57,6 +57,7 @@ BOOST_AUTO_TEST_CASE(test_aggressive_nsec_nxdomain)
 
   size_t queriesCount = 0;
 
+  // NOLINTNEXTLINE(bugprone-exception-escape) When this test throws an exception, that's ok
   sr->setAsyncCallback([target1, &queriesCount, keys](const ComboAddress& ip, const DNSName& domain, int type, bool /* doTCP */, bool /* sendRDQuery */, int /* EDNS0Level */, struct timeval* /* now */, std::optional<Netmask>& /* srcmask */, boost::optional<const ResolveContext&> /* context */, LWResult* res, bool* /* chained */) {
     queriesCount++;