From: Pieter Lexis Date: Fri, 14 Nov 2025 14:27:38 +0000 (+0100) Subject: chore(res): appease clang-tidy X-Git-Tag: rec-5.4.0-alpha1~33^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84f8e87a158b49bf959cb43bcb2c8ec79ce5bd67;p=thirdparty%2Fpdns.git chore(res): appease clang-tidy --- diff --git a/pdns/recursordist/test-aggressive_nsec_cc.cc b/pdns/recursordist/test-aggressive_nsec_cc.cc index f9d98c88e7..e4b5a3bebc 100644 --- a/pdns/recursordist/test-aggressive_nsec_cc.cc +++ b/pdns/recursordist/test-aggressive_nsec_cc.cc @@ -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& /* srcmask */, boost::optional /* context */, LWResult* res, bool* /* chained */) { queriesCount++;