]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Clang-tidy annotation 15280/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 11 Mar 2025 10:16:49 +0000 (11:16 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 11 Mar 2025 10:16:49 +0000 (11:16 +0100)
pdns/recursordist/syncres.cc

index f9da0515ce80434385e749def2cd1fc09e37b7dc..299771505595b3bf650b7110dc48d56e97e29b58 100644 (file)
@@ -4188,6 +4188,7 @@ static void allowAdditionalEntry(std::unordered_set<DNSName>& allowedAdditionals
   }
 }
 
+// NOLINTNEXTLINE(readability-function-cognitive-complexity)
 void SyncRes::sanitizeRecords(const std::string& prefix, LWResult& lwr, const DNSName& qname, const QType qtype, const DNSName& auth, bool wasForwarded, bool rdQuery)
 {
   const bool wasForwardRecurse = wasForwarded && rdQuery;